login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
27
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in net_rx_action
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
David Miller <davem@...>
To: <a.p.zijlstra@...>
Cc: <akpm@...>, <jarkao2@...>, <netdev@...>, <bugme-daemon@...>, <marcus@...>, <shemminger@...>, <rjw@...>, <linux-kernel@...>, <mingo@...>
Subject:
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in net_rx_action
Date: Thursday, March 27, 2008 - 7:03 am
From: Peter Zijlstra <a.p.zijlstra@chello.nl> Date: Thu, 27 Mar 2008 11:56:19 +0100
quoted text
> How about this: > > <irqs disabled> > > netpoll_poll() > poll_napi() > spin_trylock(&napi->poll_lock) > poll_one_napi() > napi->poll() := sky2_poll() > napi_complete() > local_irq_disable() > local_irq_enable() <--- *BUG* > > <irq> > irq_exit() > do_softirq() > net_rx_action() > spin_lock(&napi->poll_lock) <--- Deadlock! > > Because we still hold the lock....
Yep, that will deadlock. Can some test if using local_irq_{save,restore}() in napi_complete() cures this lockdep warning? Thanks. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in ...
, Jarek Poplawski
, (Wed Mar 26, 7:13 pm)
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in ...
, Andrew Morton
, (Wed Mar 26, 8:14 pm)
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in ...
, Jarek Poplawski
, (Thu Mar 27, 4:55 am)
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in ...
, Andrew Morton
, (Thu Mar 27, 5:18 am)
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in ...
, Peter Zijlstra
, (Thu Mar 27, 6:56 am)
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in ...
, Jarek Poplawski
, (Thu Mar 27, 8:22 am)
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in ...
, Peter Zijlstra
, (Thu Mar 27, 8:30 am)
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in ...
, Jarek Poplawski
, (Thu Mar 27, 8:49 am)
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in ...
, Rafael J. Wysocki
, (Thu Mar 27, 5:56 pm)
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in ...
, Jarek Poplawski
, (Thu Mar 27, 6:22 pm)
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in ...
, David Miller
, (Thu Mar 27, 6:22 pm)
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in ...
, Jarek Poplawski
, (Thu Mar 27, 6:39 pm)
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in ...
, David Miller
, (Thu Mar 27, 8:59 pm)
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in ...
, Peter Zijlstra
, (Fri Mar 28, 6:12 am)
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in ...
, David Miller
, (Thu Mar 27, 7:03 am)
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in ...
, Marcus Better
, (Thu Mar 27, 7:59 am)
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in ...
, Jarek Poplawski
, (Thu Mar 27, 8:32 am)
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in ...
, David Miller
, (Thu Mar 27, 5:44 pm)
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in ...
, Jarek Poplawski
, (Thu Mar 27, 6:07 am)
Re: [Bugme-new] [Bug 10326] New: inconsistent lock state in ...
, Jarek Poplawski
, (Thu Mar 27, 5:08 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Amit K. Arora
[RFC] Heads up on sys_fallocate()
H. Peter Anvin
Re: [RFC 00/15] x86_64: Optimize percpu accesses
Nicolas Pitre
Re: [RFC patch 08/18] cnt32_to_63 should use smp_rmb()
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
885 guests
online.
Syndicate