Re: Examples of Per-CPU Variables in Kernel source

2013-03-01 Thread Prabhu nath
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 sh200...@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

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Examples of Per-CPU Variables in Kernel source

2013-02-28 Thread Arun KS
On Sun, Feb 24, 2013 at 2:07 PM, Shraddha Kamat sh200...@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

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Examples of Per-CPU Variables in Kernel source

2013-02-24 Thread Shraddha Kamat
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.


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies