I trying to to make the linux memory management a little bit more clear for tuning and performances purposes.
I am using NFS to mount filesystem on my embedded board. Filesystem is mounted via eth0 port on my board. But after filesystem is mounted, if i unplug network cable from eth0 and plug into eth1, NFS f
In the implementation of linux kernel lists in /include/linux/list.h, what is the rationale behind the first line (pasted below) of the container_of macro?
I hav written a kernel program for memory read/write operation. #include<linux/kernel.h> #include<linux/module.h>
I read that the first 3 GBs are reserved for the process and the last GB is for the Kernel. I also read that the kernel is loaded starting from the 2nd MB of the physical address space (depending on t
i\'m trying to understand how linux device/driver model works and to do this i\'ve written a little module. This module is simple, retrieves a pointer to a struct net_device (let\'s call it netdev) by
So after programming the basic L1 and L2 cache related routines in Linux kernel (arch/arm/mm/cache-X.S) say for example specific to ARM11 Processor, is there a 开发者_如何学Gotest utility/program avai
When disassembling functions, gdb willdisplay memory addresses in base 16, but offsets in base 10. Example:
I\'m working with LKM outside the kernel tree and I want to use some compiling options for my module like MYLKM_CONFIG_{something}. I know that this can be done using the C preprocessing (#define // #
Can anyone please let me know t开发者_如何学JAVAhe usage of schedule() function in linux kernel.