login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
March
»
2
Re: [PATCH RFC tip/core/rcu 1/2] rcu: suppress RCU lockdep warnings during early boot
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Paul E. McKenney
Subject:
Re: [PATCH RFC tip/core/rcu 1/2] rcu: suppress RCU lockdep warnings during early boot
Date: Tuesday, March 2, 2010 - 6:27 am
On Tue, Mar 02, 2010 at 01:20:59PM +0100, Ingo Molnar wrote:
quoted text
> > * Paul E. McKenney <paulmck@linux.vnet.ibm.com> wrote: > > > + if (!rcu_scheduler_active || !debug_locks) > > + return 1; > > + return lock_is_held(&rcu_lock_map); > > > + if (!rcu_scheduler_active || !debug_locks) > > + return 1; > > + return lock_is_held(&rcu_bh_lock_map); > > i guess there could be a common helper here?
Will do!
quoted text
> Also, could we clear rcu_scheduler_active when we clear debug_locks? That way > only a single test is needed, a generic 'is lock debugging active'.
Doing that will break synchronize_rcu(), which returns immediately if !rcu_scheduler_active.
quoted text
> (Which test should probably be unlikely() as well?)
Good point, will fix. Thanx, Paul --
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:
[PATCH RFC tip/core/rcu 0/2] rcu: make RCU lockdep handle ...
, Paul E. McKenney
, (Mon Mar 1, 12:03 pm)
[PATCH RFC tip/core/rcu 1/2] rcu: suppress RCU lockdep war ...
, Paul E. McKenney
, (Mon Mar 1, 12:03 pm)
[PATCH RFC tip/core/rcu 2/2] rcu: revert 1883c79a: early b ...
, Paul E. McKenney
, (Mon Mar 1, 12:03 pm)
Re: [PATCH RFC tip/core/rcu 1/2] rcu: suppress RCU lockdep ...
, Ingo Molnar
, (Tue Mar 2, 5:20 am)
Re: [PATCH RFC tip/core/rcu 1/2] rcu: suppress RCU lockdep ...
, Paul E. McKenney
, (Tue Mar 2, 6:27 am)
Re: [PATCH RFC tip/core/rcu 1/2] rcu: suppress RCU lockdep ...
, Ingo Molnar
, (Tue Mar 2, 7:12 am)
Re: [PATCH RFC tip/core/rcu 1/2] rcu: suppress RCU lockdep ...
, Paul E. McKenney
, (Tue Mar 2, 7:55 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Eric Sandeen
Re: [PATCH] xfs: do not pass unused params to xfs_flush_pages
Daniel Hazelton
Re: x86: 4kstacks default
Mathieu Desnoyers
Re: Linux 2.6.25-rc2
Alexandre Oliva
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Andi Kleen
Re: [Xen-devel] Re: [PATCH 00 of 36] x86/paravirt: groundwork for 64-bit Xen support
git
:
Felipe Contreras
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Johannes Schindelin
[PATCH] fetch: refuse to fetch into the current branch in a non-bare repository
Johannes Schindelin
Re: [PATCH] Fix install-doc-quick target
Nicolas Pitre
Re: About git and the use of SHA-1
Alex Riesen
Re: git exclude patterns for directory
linux-netdev
:
Andi Kleen
Re: RFC: Nagle latency tuning
Herbert Xu
Re: Oops in tun: bisected to Limit amount of queued packets per device
gregkh
Patch "IPv6: keep route for tentative address" has been added to the 2.6.34-stable...
Paul Gortmaker
[PATCH net-next 09/16] tipc: Relocate trivial link status functions to header file
Patrick McHardy
Re: [rfc 02/13] [RFC 02/13] netfilter: nf_conntrack_sip: Add callid parser
git-commits-head
:
Linux Kernel Mailing List
sh: Fix compile error by operands(mov.l) in sh3/entry.S
Linux Kernel Mailing List
New device ID for sc92031 [1088:2031]
Linux Kernel Mailing List
tmpfs: depend on shmem
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
Staging: et131x: prune all the debug code
openbsd-misc
:
Andres Salazar
About priorities in /etc/resolv.conf
Tonnerre LOMBARD
Re: bge0: watchdog timeout
Rob Shepherd
x86 hardware for router system
Damien Miller
Re: Patching a SSH 'Weakness'
ropers
Re: Real men don't attack straw men
Colocation donated by:
Syndicate