[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+yNG29pbNxiES1kR=sKr3Sn3g8rgz5p17dZq7MBHz1F9hnkCA@mail.gmail.com>
Date: Sat, 6 Aug 2011 19:03:53 -0700
From: Venkat Subbiah <v.subbiah@...il.com>
To: linux-kernel@...r.kernel.org
Subject: preempt_disable and softirq
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists