percpu variables from softirq context

Vimal j.vimal at gmail.com
Tue Dec 6 18:08:26 EST 2011


Hi,

I am trying to allocate a per-cpu variable from a softirq context, but
the documentation for "alloc_percpu" says that the variable is
allocated in GFP_KERNEL context, which can sleep.

Is there a way around this?

Thanks,
-- 
Vimal



More information about the Kernelnewbies mailing list