Skip to main content
Filter by
Sorted by
Tagged with
2 votes
0 answers
65 views

When looking at explanations of physical memory address spaces, I always see either RAM/main memory being 1:1 with physical address space, or with MMIO, I see that physical address spaces are split ...
wxz's user avatar
  • 2,656
Advice
0 votes
1 replies
24 views

I am looking for the maximum version of alsa-lib that I can use with LINUX kernel version 5.16.18. On searching for the release note for Linux version 5.16.18 https://lwn.net/Articles/889437/, I didn'...
atulya's user avatar
  • 569
0 votes
0 answers
55 views

We are working with NXP S32G2 processor. On Linux side, we have been encountering the block corruption issue as metadata block 152577 is corrupted. Ideally, we have 152576 blocks in dmverity.env and ...
Suryashankar Dasgupta's user avatar
-2 votes
1 answer
129 views

I move several gigabytes worth of 4k pages on a Linux host from one numa node to another node using move_pages(). It takes many minutes and amlost no CPU load to do so. I can't figure out why. Any ...
northwindow's user avatar
Advice
0 votes
2 replies
38 views

I am new to both Linux kernel engineering and mm. I am interested in mm subsystem. One person on irc channel told me to read the page fault handler code (both x86 architecture specific and the generic ...
john_delta's user avatar
5 votes
1 answer
148 views

I'm reading this example Linux kernel module from a tutorial, and I do not understand (in this line) why the variable count in struct task_info needs to be atomic_t. The module has a module_init ...
Nicholas Humphrey's user avatar
0 votes
1 answer
29 views

I am trying to understand why kprobe and fentry eBPF programs that I think should be doing the same thing, are not. The following two programs compile and load just fine. They are kprobe programs. ...
fpes's user avatar
  • 976
Advice
0 votes
0 replies
15 views

Can the function set_cpus_allowed_ptr can be called on a kthread right after kthread_create_on_node'ing it, but before waking it up via wake_up_process? Context: trying to solve this problem. Long ...
Manchineel's user avatar
-1 votes
1 answer
89 views

Recently, I've been developing an aarch64 OS kernel and need to support aarch32 user-space programs. I'm studying the Linux implementation, and the following are confusing me: Linux saves/restores ...
untitled's user avatar
  • 587
1 vote
1 answer
132 views

I have a scenario where: A program dynamically loads liba.so using dlopen(), then resolves and calls the function func1() from it via dlsym(). I have created libb.so which redefines the same-named ...
Cillian's user avatar
  • 11
0 votes
2 answers
70 views

I've written a kernel module, let's call it my_mod.ko. Now I want to analyse the performance of my module. For this I'd like to know the time each function call takes. From this article I gather, ...
Mo_'s user avatar
  • 2,338
2 votes
1 answer
86 views

I am implementing a destination NAT-like behavior by hooking into NF_INET_PRE_ROUTING and NF_INET_LOCAL_OUT to modify the destination IP address and recalculate the checksums. nf_tracer_handler(void *...
yan3ku's user avatar
  • 25
3 votes
2 answers
164 views

I'm a computer science undergraduate student studying Linux kernel USB device drivers. While analyzing the skel_read() function in usb-skeleton.c, I noticed what seems like inconsistent retry logic. I'...
const's user avatar
  • 39
Advice
0 votes
0 replies
59 views

I want to: Show a splash screen during or just after kernel boot (before Weston starts). Possibly write raw image data directly to framebuffer or use fbv, psplash, or something similar. Questions: Is ...
Malin Shaik's user avatar
Best practices
0 votes
3 replies
150 views

I want to generate a memory access trace in Linux where every fixed number of memory accesses (e.g., every 32 accesses) are grouped and recorded as one batch. Is it possible to implement this kind of “...
456 123's user avatar
  • 19

15 30 50 per page
1
2 3 4 5
1190