login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
21
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs rcu_read_lock()
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Peter Zijlstra <a.p.zijlstra@...>
To: Dmitry Torokhov <dmitry.torokhov@...>
Cc: <paulmck@...>, <linux-kernel@...>, Ingo Molnar <mingo@...>, Andrew Morton <akpm@...>, Nick Piggin <nickpiggin@...>
Subject:
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs rcu_read_lock()
Date: Friday, September 21, 2007 - 10:30 am
On Fri, 21 Sep 2007 10:15:10 -0400 "Dmitry Torokhov" <dmitry.torokhov@gmail.com> wrote:
quoted text
> On 9/20/07, Paul E. McKenney <paulmck@linux.vnet.ibm.com> wrote: > > On Thu, Sep 20, 2007 at 01:31:35PM -0400, Dmitry Torokhov wrote: > > > > > > OK, then what is the purpose of synchronize_sched() in -rt? > > > > To wait for all preempt-disable, irq-disable, hard-irq, and SMI/NMI code > > sequences to complete. > > OK, so what spin_lock_irq[save]? Does is disable IRQs in -rt or not anymore? > If IRQs are disabled it appears that I can continue using synchronize_sched().
No it will not disable IRQs anymore.
quoted text
> > > > > You really need to provide users with a replacement. There are several > > > drivers that use it and for example r8169 is not what you'd call a > > > 'low performer'. > > > > I did look at making a synchronize_all_irq() some time back, and all > > the approaches I came up with at the time were busted. > > > > But I just took another look, and I think I see a way to handle it. > > Either that, or I simply forgot the way in which this approach is > > broken... > > > > I will stare at is some more. > > > > Thank you.
I think the patch posted by Paul earlier today should work. -
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:
[RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs rcu_...
, Peter Zijlstra
, (Wed Sep 19, 6:41 am)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Dmitry Torokhov
, (Wed Sep 19, 10:17 am)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Peter Zijlstra
, (Wed Sep 19, 10:31 am)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Dmitry Torokhov
, (Wed Sep 19, 11:16 am)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Paul E. McKenney
, (Wed Sep 19, 11:37 am)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Dmitry Torokhov
, (Wed Sep 19, 12:59 pm)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Paul E. McKenney
, (Wed Sep 19, 1:32 pm)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Paul E. McKenney
, (Wed Sep 19, 1:48 pm)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Dmitry Torokhov
, (Wed Sep 19, 2:49 pm)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Peter Zijlstra
, (Wed Sep 19, 3:41 pm)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Dmitry Torokhov
, (Wed Sep 19, 3:49 pm)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Paul E. McKenney
, (Wed Sep 19, 4:48 pm)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Peter Zijlstra
, (Wed Sep 19, 4:13 pm)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Dmitry Torokhov
, (Wed Sep 19, 4:41 pm)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Peter Zijlstra
, (Wed Sep 19, 5:19 pm)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Dmitry Torokhov
, (Wed Sep 19, 5:29 pm)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Peter Zijlstra
, (Wed Sep 19, 5:47 pm)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Dmitry Torokhov
, (Thu Sep 20, 1:31 pm)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Paul E. McKenney
, (Thu Sep 20, 8:01 pm)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Dmitry Torokhov
, (Fri Sep 21, 10:15 am)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Peter Zijlstra
, (Fri Sep 21, 10:30 am)
Re: [RFC][PATCH 2/6] lockdep: validate rcu_dereference() vs ...
, Peter Zijlstra
, (Wed Sep 19, 11:25 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Hiten Pandya
Re: up? (emacs docbook xml ide)
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
debian developer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
git
:
linux-netdev
:
Gerrit Renker
[PATCH 03/37] dccp: List management for new feature negotiation
Ingo Molnar
iwlwifi: fix build bug in "iwlwifi: fix LED stall"
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
646 guests
online.
Syndicate