Examples of Per-CPU Variables in Kernel source
I was reading about Per-CPU Variables from UTLK. Where are such variables used in the kernel source code - example. -- Shraddha
On Sun, 2013-02-24 at 14:07 +0530, Shraddha Kamat wrote:
I was reading about Per-CPU Variables from UTLK. Where are such variables used in the kernel source code - example.
-- Shraddha
got a very nice article on Per-CPU variable here - http://www.makelinux.net/ldd3/chp-8-sect-5 that clears up my doubt.
On Sun, Feb 24, 2013 at 2:07 PM, Shraddha Kamat <sh2008ka@gmail.com> wrote:
I was reading about Per-CPU Variables from UTLK. Where are such variables used in the kernel source code - example. Use grep utility to find it out .
Thanks, Arun
-- Shraddha
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
In the context of tasklets, A tasklet list is headed by tasklet_vec and tasklet_hi_vec. This is defined per-CPU. U can see this at http://lxr.linux.no/#linux+v3.8.1/kernel/softirq.c#L400 Regards, Prabhu On Sun, Feb 24, 2013 at 2:07 PM, Shraddha Kamat <sh2008ka@gmail.com> wrote:
I was reading about Per-CPU Variables from UTLK. Where are such variables used in the kernel source code - example.
-- Shraddha
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (3)
-
Arun KS -
Prabhu nath -
Shraddha Kamat