preempt_disable and softirq

From: Venkat Subbiah
Date: Sat Aug 06 2011 - 22:04:07 EST


Does disabling preemption by calling preempt_disable() cause softirqs
on the local cpu to be disabled too?

I believe drivers napi polling functions is being called when the
current cpu is holding on to a read lock of tasklist_lock. read_lock()
itself disables preemption.

An easy way to check in the napi polling functions that the current
cpu is not holding on to tasklist_lock? Of course this is mute if
softirqs itself cannot execute when premption is disabled.

PS: I am not subscribed to the groups. Please CC me on your answer.

Thanks,
Venkat
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/