Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in net_rx_action

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jarek Poplawski
Date: Thursday, March 27, 2008 - 1:55 am

On Wed, Mar 26, 2008 at 05:14:03PM -0700, Andrew Morton wrote:
...
...

sky2_poll() doesn't take napi->poll_lock; this lock is taken by
netpoll_poll() before calling sky2_poll(). And before this hardirqs
are disabled in write_msg(). So, theoretically lockdep could be right
if sky2_poll() would enable irqs after this. (If it were done in
netpoll - lockdep should warn before or after sky2_poll() call.)
But I really can't see any such possibility in sky2_poll().

Regards,
Jarek P.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state i ..., Jarek Poplawski, (Thu Mar 27, 1:55 am)
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state i ..., Rafael J. Wysocki, (Thu Mar 27, 2:56 pm)