login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
October
»
3
Re: [PATCH tip/master] RCU-based detection of stalled CPUs for Classic RCU
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Paul E. McKenney
Subject:
Re: [PATCH tip/master] RCU-based detection of stalled CPUs for Classic RCU
Date: Friday, October 3, 2008 - 8:13 am
On Fri, Oct 03, 2008 at 10:39:47AM +0200, Ingo Molnar wrote:
quoted text
> > * Paul E. McKenney <paulmck@linux.vnet.ibm.com> wrote: > > > Hello! > > > > This patch adds stalled-CPU detection to Classic RCU. This capability > > is enabled by a new config variable CONFIG_RCU_CPU_STALL_DETECTOR, > > which defaults disabled. This is a debugging feature to detect > > infinite loops in kernel code, not something that non-kernel-hackers > > would be expected to care about. This feature can detect looping CPUs > > in !PREEMPT builds and looping CPUs with preemption disabled in > > PREEMPT builds. This is essentially a port of this functionality from > > the treercu patch, replacing the stall debug patch that is already in > > tip/core/rcu (commit 67182ae1c4). > > > > The changes from the patch in tip/core/rcu include making the config > > variable name match that in treercu, changing from seconds to jiffies > > to avoid spurious warnings, and printing a boot message when this > > feature is enabled. > > > > Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> > > applied to tip/core/rcu, thanks Paul! > > i tidied up two tiny details noticed by scripts/checkpatch.pl: > > > +#define RCU_SECONDS_TILL_STALL_CHECK 3 * HZ /* for rcp->jiffies_stall */ > > +#define RCU_SECONDS_TILL_STALL_RECHECK 30 * HZ /* for rcp->jiffies_stall */ > > adding paranthesis around the expression. > > > + if (cpu_isset(smp_processor_id(), rcp->cpumask) && delta >= 0) { > > + > > and have removed the two tailing tabs from this line.
<red face> checkpatch.pl... I have heard of it! :-) 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] RCU-based detection of stalled CPUs for Classi ...
, Paul E. McKenney
, (Wed Oct 1, 5:36 pm)
Re: [PATCH,RFC] RCU-based detection of stalled CPUs for Cl ...
, Ingo Molnar
, (Thu Oct 2, 1:07 am)
Re: [PATCH,RFC] RCU-based detection of stalled CPUs for Cl ...
, Paul E. McKenney
, (Thu Oct 2, 7:05 am)
Re: [PATCH,RFC] RCU-based detection of stalled CPUs for Cl ...
, Mathieu Desnoyers
, (Thu Oct 2, 8:10 am)
Re: [PATCH,RFC] RCU-based detection of stalled CPUs for Cl ...
, Paul E. McKenney
, (Thu Oct 2, 10:39 am)
Re: [PATCH,RFC] RCU-based detection of stalled CPUs for Cl ...
, Paul E. McKenney
, (Thu Oct 2, 10:43 am)
Re: [PATCH,RFC] RCU-based detection of stalled CPUs for Cl ...
, Mathieu Desnoyers
, (Thu Oct 2, 11:51 am)
Re: [PATCH,RFC] RCU-based detection of stalled CPUs for Cl ...
, Paul E. McKenney
, (Thu Oct 2, 3:55 pm)
[PATCH tip/master] RCU-based detection of stalled CPUs for ...
, Paul E. McKenney
, (Thu Oct 2, 4:06 pm)
Re: [PATCH tip/master] RCU-based detection of stalled CPUs ...
, Mathieu Desnoyers
, (Thu Oct 2, 9:41 pm)
Re: [PATCH tip/master] RCU-based detection of stalled CPUs ...
, Paul E. McKenney
, (Thu Oct 2, 10:02 pm)
Re: [PATCH tip/master] RCU-based detection of stalled CPUs ...
, Ingo Molnar
, (Fri Oct 3, 1:39 am)
[PATCH] rcu: RCU-based detection of stalled CPUs for Class ...
, Ingo Molnar
, (Fri Oct 3, 1:42 am)
Re: [PATCH,RFC] RCU-based detection of stalled CPUs for Cl ...
, Lai Jiangshan
, (Fri Oct 3, 3:12 am)
Re: [PATCH,RFC] RCU-based detection of stalled CPUs for Cl ...
, Paul E. McKenney
, (Fri Oct 3, 8:12 am)
Re: [PATCH tip/master] RCU-based detection of stalled CPUs ...
, Paul E. McKenney
, (Fri Oct 3, 8:13 am)
Re: [PATCH] rcu: RCU-based detection of stalled CPUs for C ...
, Paul E. McKenney
, (Fri Oct 3, 8:14 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Dave Jones
Re: OT: character encodings (was: Linux 2.6.20-rc4)
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Sam Ravnborg
Re: [PATCH] kbuild: fix make V=1
Nick Piggin
Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
Greg Kroah-Hartman
[PATCH 34/36] IB: rename "dev" to "srp_dev" in srp_host structure
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Junio C Hamano
Re: [PATCH 1/2] Teach git-describe to display distances from tags.
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
James Henstridge
Re: VCS comparison table
linux-netdev
:
Jarek Poplawski
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Lennert Buytenhek
Re: Distributed Switch Architecture(DSA)
Daniel Schaffrath
Re: tcp bw in 2.6
Guo-Fu Tseng
Re: jme: UDP checksum error, and lots of them
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
openbsd-misc
:
Claudio Jeker
Re: Vlan Tag on Vlan Tag (l2tunneling)
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Pieter Verberne
File collision while using pkg_add
Tomas Bodzar
bsd: uvm_mapent_alloc: out of static map entries
Community First Financial
Teacher A+ Loan
git-commits-head
:
Linux Kernel Mailing List
ath9k: Added get_survey callback in order to get channel noise
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
kconfig: recalc symbol value before showing search results
Linux Kernel Mailing List
[ARM] 5185/1: Fix spi num_chipselect for lubbock
Linux Kernel Mailing List
swsusp: provide users with a hint about the no_console_suspend option
Colocation donated by:
Syndicate