Messages in this thread | | | Date | Sat, 6 Aug 2011 19:03:53 -0700 | Subject | preempt_disable and softirq | From | Venkat Subbiah <> |
| |
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
| |