Le lundi 04 octobre 2010 à 17:03 -0700, Venkatesh Pallipadi a écrit :
Instead of using one bit per task (and fight to find a free bit) why not
using existing :
DEFINE_PER_CPU(struct task_struct *, ksoftirqd);
And check if current is ksoftirqd ?
if (__get_cpu_var(ksoftirqd) == current) ...
--