lkml.org 
[lkml]   [2011]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subjectpreempt_disable and softirq
From
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


\
 
 \ /
  Last update: 2011-08-07 04:07    [W:0.156 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site