Re: [PATCH powerpc/next 2/2] powerpc: Make {cmp}xchg* and their atomic_ versions fully ordered

2015-11-01 Thread Paul E. McKenney
mic_xxx_return barrier semantics") > > This patch depends on patch "powerpc: Make value-returning atomics fully > ordered" for PPC_ATOMIC_ENTRY_BARRIER definition. > > Cc: # 3.4+ > Signed-off-by: Boqun Feng Reviewed-by: Paul E. McKenney > --- > arch/powerpc/incl

Re: [PATCH powerpc/next 1/2] powerpc: Make value-returning atomics fully ordered

2015-11-01 Thread Paul E. McKenney
ed, which can avoid possible > memory ordering problems if userspace code relies on futex system call > for fully ordered semantics. > > Cc: # 3.4+ > Signed-off-by: Boqun Feng Reviewed-by: Paul E. McKenney > --- > These two are separated and splited from the patchset of

Re: [PATCH 1/2] tracing: Have stack tracer force RCU to be watching

2015-10-29 Thread Paul E. McKenney
this bug has probably been around longer. But it's unlikely to > cause much harm, but the new warning causes the system to lock up. > > Cc: stable@vger.kernel.org # 4.2+ > Cc: Peter Zijlstra > Cc:"Paul E. McKenney" > Signed-off-by: Steven Rostedt It does look

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-21 Thread Paul E. McKenney
On Wed, Oct 21, 2015 at 10:18:33AM +0200, Peter Zijlstra wrote: > On Tue, Oct 20, 2015 at 02:28:35PM -0700, Paul E. McKenney wrote: > > I am not seeing a sync there, but I really have to defer to the > > maintainers on this one. I could easily have missed one. > > So x86 i

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-21 Thread Paul E. McKenney
On Wed, Oct 21, 2015 at 04:45:03PM +0800, Boqun Feng wrote: > On Tue, Oct 20, 2015 at 02:28:35PM -0700, Paul E. McKenney wrote: > > On Tue, Oct 20, 2015 at 11:21:47AM +0200, Peter Zijlstra wrote: > > > On Tue, Oct 20, 2015 at 03:15:32PM +0800, Boqun Feng wrote: > > > &

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-20 Thread Paul E. McKenney
On Tue, Oct 20, 2015 at 11:21:47AM +0200, Peter Zijlstra wrote: > On Tue, Oct 20, 2015 at 03:15:32PM +0800, Boqun Feng wrote: > > On Wed, Oct 14, 2015 at 01:19:17PM -0700, Paul E. McKenney wrote: > > > > > > Am I missing something here? If not, it seems to me that

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-15 Thread Paul E. McKenney
On Thu, Oct 15, 2015 at 12:48:03PM +0800, Boqun Feng wrote: > On Wed, Oct 14, 2015 at 08:07:05PM -0700, Paul E. McKenney wrote: > > On Thu, Oct 15, 2015 at 08:53:21AM +0800, Boqun Feng wrote: > [snip] > > > > > > I'm afraid more than that, the above litmus a

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-15 Thread Paul E. McKenney
On Thu, Oct 15, 2015 at 03:50:44PM +0100, Will Deacon wrote: > On Thu, Oct 15, 2015 at 11:35:10AM +0100, Will Deacon wrote: > > Dammit guys, it's never simple is it? > > I re-read this and it's even more confusing than I first thought. > > > On Wed, Oct 14

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-15 Thread Paul E. McKenney
On Thu, Oct 15, 2015 at 10:49:23PM +0800, Boqun Feng wrote: > On Wed, Oct 14, 2015 at 01:19:17PM -0700, Paul E. McKenney wrote: > > On Wed, Oct 14, 2015 at 11:55:56PM +0800, Boqun Feng wrote: > > > According to memory-barriers.txt, xchg, cmpxchg and their atomic{,64}_ > >

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-15 Thread Paul E. McKenney
On Thu, Oct 15, 2015 at 11:35:44AM +0100, Will Deacon wrote: > Dammit guys, it's never simple is it? > > On Wed, Oct 14, 2015 at 02:44:53PM -0700, Paul E. McKenney wrote: > > To that end, the herd tool can make a diagram of what it thought > > happened, and I have

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-14 Thread Paul E. McKenney
On Thu, Oct 15, 2015 at 11:11:01AM +0800, Boqun Feng wrote: > Hi Paul, > > On Thu, Oct 15, 2015 at 08:53:21AM +0800, Boqun Feng wrote: > > On Wed, Oct 14, 2015 at 02:44:53PM -0700, Paul E. McKenney wrote: > [snip] > > > To that end, the herd tool can make a

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-14 Thread Paul E. McKenney
On Thu, Oct 15, 2015 at 09:22:26AM +0800, Boqun Feng wrote: > On Thu, Oct 15, 2015 at 08:53:21AM +0800, Boqun Feng wrote: > > On Wed, Oct 14, 2015 at 02:44:53PM -0700, Paul E. McKenney wrote: > > > On Wed, Oct 14, 2015 at 11:04:19PM +0200, Peter Zijlstra wrote: > > > &

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-14 Thread Paul E. McKenney
On Thu, Oct 15, 2015 at 08:53:21AM +0800, Boqun Feng wrote: > On Wed, Oct 14, 2015 at 02:44:53PM -0700, Paul E. McKenney wrote: > > On Wed, Oct 14, 2015 at 11:04:19PM +0200, Peter Zijlstra wrote: > > > On Wed, Oct 14, 2015 at 01:19:17PM -0700, Paul E. McKenney wrote: >

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-14 Thread Paul E. McKenney
On Wed, Oct 14, 2015 at 11:04:19PM +0200, Peter Zijlstra wrote: > On Wed, Oct 14, 2015 at 01:19:17PM -0700, Paul E. McKenney wrote: > > Suppose we have something like the following, where "a" and "x" are both > > initially zero: > > >

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-14 Thread Paul E. McKenney
On Wed, Oct 14, 2015 at 11:55:56PM +0800, Boqun Feng wrote: > According to memory-barriers.txt, xchg, cmpxchg and their atomic{,64}_ > versions all need to imply a full barrier, however they are now just > RELEASE+ACQUIRE, which is not a full barrier. > > So replace PPC_RELEASE_BARRIER and PPC_ACQ

[tip:core/rcu] rcu: Correctly handle non-empty Tiny RCU callback list with none ready

2015-06-02 Thread tip-bot for Paul E. McKenney
Commit-ID: 6e91f8cb138625be96070b778d9ba71ce520ea7e Gitweb: http://git.kernel.org/tip/6e91f8cb138625be96070b778d9ba71ce520ea7e Author: Paul E. McKenney AuthorDate: Mon, 11 May 2015 11:13:05 -0700 Committer: Paul E. McKenney CommitDate: Wed, 27 May 2015 12:59:32 -0700 rcu: Correctly

[PATCH v2 tip/core/rcu 21/22] rcu: Yet another fix for preemption and CPU hotplug

2015-03-16 Thread Paul E. McKenney
From: "Paul E. McKenney" As noted earlier, the following sequence of events can occur when running PREEMPT_RCU and HOTPLUG_CPU on a system with a multi-level rcu_node combining tree: 1. A group of tasks block on CPUs corresponding to a given leaf rcu_node structure while

Re: [PATCH] ipc/sem.c: Update/correct memory barriers.

2015-02-28 Thread Paul E. McKenney
On Sat, Feb 28, 2015 at 10:45:33PM +0100, Peter Zijlstra wrote: > On Sat, Feb 28, 2015 at 09:36:15PM +0100, Manfred Spraul wrote: > > +/* > > + * Place this after a control barrier (such as e.g. a spin_unlock_wait()) > > + * to ensure that reads cannot be moved ahead of the control_barrier. > > + *

Re: [PATCH] llist: Fix missing lockless_dereference()

2015-02-10 Thread Paul E. McKenney
On Tue, Feb 10, 2015 at 12:29:24PM -0500, Peter Hurley wrote: > On 02/10/2015 11:38 AM, Paul E. McKenney wrote: > > On Tue, Feb 10, 2015 at 09:03:50AM -0500, Peter Hurley wrote: > >> On 02/06/2015 09:08 PM, Mathieu Desnoyers wrote: > >>> A lockless_derefere

Re: [PATCH] llist: Fix missing lockless_dereference()

2015-02-10 Thread Paul E. McKenney
On Tue, Feb 10, 2015 at 09:03:50AM -0500, Peter Hurley wrote: > On 02/06/2015 09:08 PM, Mathieu Desnoyers wrote: > > A lockless_dereference() appears to be missing in llist_del_first(). > > It should only matter for Alpha in practice. > > > > Signed-off-by: Mathieu Desnoyers > > CC: Huang Ying >

Re: Is there some way to suppress Cc email only to stable?

2015-02-09 Thread Paul E. McKenney
On Tue, Feb 10, 2015 at 08:03:19AM +0800, Greg KH wrote: > On Mon, Feb 09, 2015 at 03:35:37PM -0800, Paul E. McKenney wrote: > > On Mon, Feb 09, 2015 at 01:53:50PM -0800, Jonathan Nieder wrote: > > > Hi, > > > > > > Paul E. McKenney wrote: > > > &g

Re: Is there some way to suppress Cc email only to stable?

2015-02-09 Thread Paul E. McKenney
On Mon, Feb 09, 2015 at 01:53:50PM -0800, Jonathan Nieder wrote: > Hi, > > Paul E. McKenney wrote: > > > Cc: > > > > Yet I cannot allow git-send-email to actually send email to that address, > > lest I get an automated nastygram in response. > > Intere

Re: [PATCH] llist: Fix missing lockless_dereference()

2015-02-07 Thread Paul E. McKenney
On Sun, Feb 08, 2015 at 06:16:25AM +0800, Greg KH wrote: > On Fri, Feb 06, 2015 at 09:08:21PM -0500, Mathieu Desnoyers wrote: > > A lockless_dereference() appears to be missing in llist_del_first(). > > It should only matter for Alpha in practice. > > Meta-comment, do we really care about Alpha an

Re: [PATCH v2 1/2] workqueue: add quiescent state between work items

2014-10-08 Thread Paul E. McKenney
On Wed, Oct 08, 2014 at 01:54:28PM +0200, Jiri Pirko wrote: > Wed, Oct 08, 2014 at 05:24:11AM CEST, paul...@linux.vnet.ibm.com wrote: > >On Tue, Oct 07, 2014 at 01:45:28PM -0400, Joe Lawrence wrote: > >> On Tue, 7 Oct 2014 06:43:29 -0700 > >> "Paul E. McKenney"

Re: [PATCH v2 1/2] workqueue: add quiescent state between work items

2014-10-07 Thread Paul E. McKenney
On Tue, Oct 07, 2014 at 01:45:28PM -0400, Joe Lawrence wrote: > On Tue, 7 Oct 2014 06:43:29 -0700 > "Paul E. McKenney" wrote: > > > On Tue, Oct 07, 2014 at 09:29:42AM +0200, Jiri Pirko wrote: > [ ... snip ... ] > > > > > > Paul, Tehun, how do you

Re: [PATCH v2 1/2] workqueue: add quiescent state between work items

2014-10-07 Thread Paul E. McKenney
On Tue, Oct 07, 2014 at 09:29:42AM +0200, Jiri Pirko wrote: > Mon, Oct 06, 2014 at 06:21:58AM CEST, paul...@linux.vnet.ibm.com wrote: > >On Sun, Oct 05, 2014 at 03:47:48PM -0400, Tejun Heo wrote: > >> On Sun, Oct 05, 2014 at 03:21:19PM -0400, Tejun Heo wrote: > >> > On Sun, Oct 05, 2014 at 01:24:21

Re: [PATCH v2 1/2] workqueue: add quiescent state between work items

2014-10-05 Thread Paul E. McKenney
On Sun, Oct 05, 2014 at 03:47:48PM -0400, Tejun Heo wrote: > On Sun, Oct 05, 2014 at 03:21:19PM -0400, Tejun Heo wrote: > > On Sun, Oct 05, 2014 at 01:24:21PM -0400, Joe Lawrence wrote: > > > Similar to the stop_machine deadlock scenario on !PREEMPT kernels > > > addressed in b22ce2785d97 "workqueu

Re: [GIT PULL] tracing: Use rcu_dereference_sched() for trace event triggers

2014-05-03 Thread Paul E. McKenney
ed, 1 insertion(+), 1 deletion(-) > --- > commit 561a4fe851ccab9dd0d14989ab566f9392d9f8b5 > Author: Steven Rostedt (Red Hat) Acked-by: Paul E. McKenney > Date: Fri May 2 13:30:04 2014 -0400 > > tracing: Use rcu_dereference_sched() for trace event triggers > > As trace e

Re: [PATCH] vfs: Fix possible NULL pointer dereference in inode_permission()

2014-01-09 Thread Paul E. McKenney
On Thu, Jan 09, 2014 at 06:59:07PM -0500, Steven Rostedt wrote: > On Thu, 9 Jan 2014 15:45:37 -0800 > "Paul E. McKenney" wrote: > > > > static void inode_free_security(struct inode *inode) > > > { > > > struct inode_security_struct *isec = inode

Re: [PATCH] vfs: Fix possible NULL pointer dereference in inode_permission()

2014-01-09 Thread Paul E. McKenney
On Thu, Jan 09, 2014 at 06:27:56PM -0500, Steven Rostedt wrote: > On Thu, 9 Jan 2014 18:25:23 -0500 > Steven Rostedt wrote: > > > On Fri, 10 Jan 2014 06:41:03 +0800 > > Linus Torvalds wrote: > > > > > I think the sane short term fix is to make the kfree() of the i_security > > > member be a rcu

Re: [PATCH] vfs: Fix possible NULL pointer dereference in inode_permission()

2014-01-09 Thread Paul E. McKenney
On Fri, Jan 10, 2014 at 06:41:03AM +0800, Linus Torvalds wrote: > I think the sane short term fix is to make the kfree() of the i_security > member be a rcu free, and not clear the member. Interesting use case. ;-) Thanx, Paul > Not pretty

Re: 3.10.5: rcu_sched detected stalls on CPUs/tasks

2013-12-27 Thread Paul E. McKenney
On Fri, Dec 27, 2013 at 06:15:07PM +0100, Jochen Striepe wrote: > Hi, > > On Sun, Dec 22, 2013 at 03:25:23AM +0100, Jochen Striepe wrote: > > Applies, compiles, and runs smoothly on top of 3.12.6. I'll send word > > if anything odd shows up. > > Tested with various loads, everything nice an

Re: 3.10.5: rcu_sched detected stalls on CPUs/tasks

2013-12-21 Thread Paul E. McKenney
On Sun, Dec 22, 2013 at 03:25:23AM +0100, Jochen Striepe wrote: > Hi! > > On Mon, Dec 16, 2013 at 02:40:06PM -0800, Paul E. McKenney wrote: > > > > > > rcu: Kick CPU halfway to RCU CPU stall warning > [...] > > And you are quite right, there is a p

Re: 3.10.5: rcu_sched detected stalls on CPUs/tasks

2013-12-16 Thread Paul E. McKenney
On Tue, Dec 10, 2013 at 12:22:57PM +0100, Jochen Striepe wrote: > Hi again, > > On Fri, Dec 06, 2013 at 06:54:41AM -0800, Paul E. McKenney wrote: > > On Fri, Dec 06, 2013 at 02:58:04PM +0100, Jochen Striepe wrote: > > > On Thu, Dec 05, 2013 at 04:26:14PM -0800

Re: 3.10.5: rcu_sched detected stalls on CPUs/tasks

2013-12-06 Thread Paul E. McKenney
On Fri, Dec 06, 2013 at 02:58:04PM +0100, Jochen Striepe wrote: > Hi again, > > On Thu, Dec 05, 2013 at 04:26:14PM -0800, Paul E. McKenney wrote: > > Hmmm... Does the following patch help? > [...] > > rcu: Kick CPU halfway to RCU CPU stall warning > > The st

Re: 3.10.5: rcu_sched detected stalls on CPUs/tasks

2013-12-05 Thread Paul E. McKenney
On Mon, Sep 23, 2013 at 06:49:31PM +0200, Jochen Striepe wrote: > Hello again, > > On Sat, Sep 14, 2013 at 01:28:34PM +0200, Jochen Striepe wrote: > > On Mon, Sep 09, 2013 at 03:27:51PM -0700, Paul E. McKenney wrote: > > > rcu: Reject memory-order-induced stall

Re: 3.10.5: rcu_sched detected stalls on CPUs/tasks

2013-09-14 Thread Paul E. McKenney
On Sat, Sep 14, 2013 at 01:28:34PM +0200, Jochen Striepe wrote: > Hello again, > > On Mon, Sep 09, 2013 at 03:27:51PM -0700, Paul E. McKenney wrote: > > Several people helped track down another source of spurious stall > > warnings on large systems, please se

Re: 3.10.5: rcu_sched detected stalls on CPUs/tasks

2013-09-10 Thread Paul E. McKenney
On Tue, Sep 10, 2013 at 09:45:50AM +0200, Jochen Striepe wrote: > Hello, > > On Mon, Sep 09, 2013 at 03:27:51PM -0700, Paul E. McKenney wrote: > > On Mon, Sep 09, 2013 at 11:58:36PM +0200, Jochen Striepe wrote: > > > I just got this on 3.10.11 on the sam

Re: 3.10.5: rcu_sched detected stalls on CPUs/tasks

2013-09-09 Thread Paul E. McKenney
lse-positive scenarios (synchronization has proven to be a very bad idea on large systems), this should get rid of a large class of these scenarios. Reported-by: Fabian Herschel Reported-by: Michal Hocko Signed-off-by: Paul E. McKenney Reviewed-by: Michal Hocko diff --git a/kernel/rcutree.

[PATCH tip/core/rcu 6/9] rculist: list_first_or_null_rcu() should use list_entry_rcu()

2013-08-19 Thread Paul E. McKenney
SS_ONCE() added on ->next dereference. v3: Restored () around macro param which was accidentally removed. Spotted by Paul. Signed-off-by: Tejun Heo Reported-by: Fengguang Wu Cc: Dipankar Sarma Cc: "Paul E. McKenney" Cc: "David S. Miller" Cc: Li Zefan Cc: Patrick McHar

[PATCH tip/core/rcu 08/11] rculist: list_first_or_null_rcu() should use list_entry_rcu()

2013-08-17 Thread Paul E. McKenney
SS_ONCE() added on ->next dereference. v3: Restored () around macro param which was accidentally removed. Spotted by Paul. Signed-off-by: Tejun Heo Reported-by: Fengguang Wu Cc: Dipankar Sarma Cc: "Paul E. McKenney" Cc: "David S. Miller" Cc: Li Zefan Cc: Patrick McHar

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML (was: [ 00/19] 3.10.1-stable review)

2013-07-18 Thread Paul E. McKenney
On Thu, Jul 18, 2013 at 12:01:05PM +1000, Benjamin Herrenschmidt wrote: > On Wed, 2013-07-17 at 10:14 +0400, James Bottomley wrote: > > > OK, I am stupid enough to take a stab at this... > > > > > > 1.Does the Linux kernel community's health depend on the occasional > > > rant? [My gues

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread Paul E. McKenney
On Wed, Jul 17, 2013 at 04:19:34PM -0700, Guenter Roeck wrote: > On Wed, Jul 17, 2013 at 04:08:31PM -0700, Paul E. McKenney wrote: > > On Wed, Jul 17, 2013 at 03:49:23PM -0700, Randy Dunlap wrote: > > > On 07/17/13 15:02, Guenter Roeck wrote: > > > > On Wed, Jul 17, 2

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread Paul E. McKenney
On Wed, Jul 17, 2013 at 03:49:23PM -0700, Randy Dunlap wrote: > On 07/17/13 15:02, Guenter Roeck wrote: > > On Wed, Jul 17, 2013 at 07:40:43AM -0700, Sarah Sharp wrote: > > > > [ ... ] > >> > >> The result: 75% of their developers are women. If you give a flying > >> fuck about diversity, and wan

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML (was: [ 00/19] 3.10.1-stable review)

2013-07-17 Thread Paul E. McKenney
On Wed, Jul 17, 2013 at 10:14:49AM +0400, James Bottomley wrote: > On Tue, 2013-07-16 at 14:18 -0700, Paul E. McKenney wrote: > > On Tue, Jul 16, 2013 at 10:27:09PM +0400, James Bottomley wrote: > > > On Mon, 2013-07-15 at 15:38 -0700, Linus Torvalds wrote: > > > > O

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML (was: [ 00/19] 3.10.1-stable review)

2013-07-16 Thread Paul E. McKenney
On Tue, Jul 16, 2013 at 10:27:09PM +0400, James Bottomley wrote: > On Mon, 2013-07-15 at 15:38 -0700, Linus Torvalds wrote: > > On Mon, Jul 15, 2013 at 3:08 PM, Steven Rostedt wrote: > > > > > > Can we please make this into a Kernel Summit discussion. I highly doubt > > > we would solve anything,

Re: [ 097/120] rcu: Fix day-one dyntick-idle stall-warning bug

2012-10-14 Thread Paul E. McKenney
On Mon, Oct 15, 2012 at 12:54:13AM +0100, Ben Hutchings wrote: > On Sun, 2012-10-14 at 16:32 -0700, Paul E. McKenney wrote: > > On Fri, Oct 12, 2012 at 11:14:28PM +0100, Ben Hutchings wrote: > > > On Thu, 2012-10-11 at 10:00 +0900, Greg Kroah-Hartman wrote: > > > >

Re: [ 097/120] rcu: Fix day-one dyntick-idle stall-warning bug

2012-10-14 Thread Paul E. McKenney
On Fri, Oct 12, 2012 at 11:14:28PM +0100, Ben Hutchings wrote: > On Thu, 2012-10-11 at 10:00 +0900, Greg Kroah-Hartman wrote: > > 3.4-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: &q

Re: [PATCH 00/11] rcu: Add missing RCU idle APIs on idle loop v2

2012-09-10 Thread Paul E. McKenney
On Mon, Sep 10, 2012 at 11:56:08PM +0200, Frederic Weisbecker wrote: > On Sat, Aug 25, 2012 at 02:19:14AM +0100, Ben Hutchings wrote: > > On Fri, 2012-08-24 at 14:26 -0700, Paul E. McKenney wrote: > > > On Thu, Aug 23, 2012 at 04:58:24PM +0200, Frederic Weisbecker

[PATCH tip/core/rcu 21/26] m68k: Add missing RCU idle APIs on idle loop

2012-08-30 Thread Paul E. McKenney
idle in order to complete grace periods. Add this missing pair of calls in the m68k's idle loop. Reported-by: Paul E. McKenney Signed-off-by: Frederic Weisbecker Acked-by: Geert Uytterhoeven Cc: m68k Cc: 3.2.x.. Cc: Paul E. McKenney --- arch/m68k/kernel/process.c |3 +++ 1 files

[PATCH tip/core/rcu 19/26] h8300: Add missing RCU idle APIs on idle loop

2012-08-30 Thread Paul E. McKenney
idle in order to complete grace periods. Add this missing pair of calls in the h8300's idle loop. Reported-by: Paul E. McKenney Signed-off-by: Frederic Weisbecker Cc: Yoshinori Sato Cc: 3.2.x.. Cc: Paul E. McKenney --- arch/h8300/kernel/process.c |3 +++ 1 files changed, 3 insert

[PATCH tip/core/rcu 23/26] parisc: Add missing RCU idle APIs on idle loop

2012-08-30 Thread Paul E. McKenney
idle in order to complete grace periods. Add this missing pair of calls in the parisc's idle loop. Reported-by: Paul E. McKenney Signed-off-by: Frederic Weisbecker Cc: James E.J. Bottomley Cc: Helge Deller Cc: Parisc Cc: 3.2.x.. Cc: Paul E. McKenney --- arch/parisc/kernel/process.c |

[PATCH tip/core/rcu 25/26] xtensa: Add missing RCU idle APIs on idle loop

2012-08-30 Thread Paul E. McKenney
idle in order to complete grace periods. Add this missing pair of calls in the xtensa's idle loop. Reported-by: Paul E. McKenney Signed-off-by: Frederic Weisbecker Cc: Chris Zankel Cc: 3.2.x.. Cc: Paul E. McKenney --- arch/xtensa/kernel/process.c |3 +++ 1 files changed, 3 insert

[PATCH tip/core/rcu 16/26] alpha: Add missing RCU idle APIs on idle loop

2012-08-30 Thread Paul E. McKenney
idle in order to complete grace periods. Add this missing pair of calls in the Alpha's idle loop. Reported-by: Paul E. McKenney Signed-off-by: Frederic Weisbecker Cc: Richard Henderson Cc: Ivan Kokshaysky Cc: Matt Turner Cc: alpha Cc: Paul E. McKenney Cc: Michael Cree Cc: 3.2.x..

[PATCH tip/core/rcu 20/26] m32r: Add missing RCU idle APIs on idle loop

2012-08-30 Thread Paul E. McKenney
idle in order to complete grace periods. Add this missing pair of calls in the m32r's idle loop. Reported-by: Paul E. McKenney Signed-off-by: Frederic Weisbecker Cc: Hirokazu Takata Cc: 3.2.x.. Cc: Paul E. McKenney --- arch/m32r/kernel/process.c |3 +++ 1 files changed, 3 insert

[PATCH tip/core/rcu 17/26] cris: Add missing RCU idle APIs on idle loop

2012-08-30 Thread Paul E. McKenney
idle in order to complete grace periods. Add this missing pair of calls in the Cris's idle loop. Reported-by: Paul E. McKenney Signed-off-by: Frederic Weisbecker Cc: Mikael Starvik Cc: Jesper Nilsson Cc: Cris Cc: 3.2.x.. Cc: Paul E. McKenney --- arch/cris/kernel/process.c |3 ++

[PATCH tip/core/rcu 18/26] frv: Add missing RCU idle APIs on idle loop

2012-08-30 Thread Paul E. McKenney
idle in order to complete grace periods. Add this missing pair of calls in the Frv's idle loop. Reported-by: Paul E. McKenney Signed-off-by: Frederic Weisbecker Cc: David Howells Cc: 3.2.x.. Cc: Paul E. McKenney --- arch/frv/kernel/process.c |3 +++ 1 files changed, 3 insert

[PATCH tip/core/rcu 22/26] mn10300: Add missing RCU idle APIs on idle loop

2012-08-30 Thread Paul E. McKenney
idle in order to complete grace periods. Add this missing pair of calls in the mn10300's idle loop. Reported-by: Paul E. McKenney Signed-off-by: Frederic Weisbecker Cc: David Howells Cc: Koichi Yasutake Cc: 3.2.x.. Cc: Paul E. McKenney --- arch/mn10300/kernel/process.c |3 +++ 1 fil

[PATCH tip/core/rcu 24/26] score: Add missing RCU idle APIs on idle loop

2012-08-30 Thread Paul E. McKenney
idle in order to complete grace periods. Add this missing pair of calls in the scores's idle loop. Reported-by: Paul E. McKenney Signed-off-by: Frederic Weisbecker Cc: Chen Liqin Cc: Lennox Wu Cc: 3.2.x.. Cc: Paul E. McKenney --- arch/score/kernel/process.c |4 +++- 1 files

Re: [PATCH 00/11] rcu: Add missing RCU idle APIs on idle loop v2

2012-08-25 Thread Paul E. McKenney
On Sun, Aug 26, 2012 at 09:15:27AM +1200, Michael Cree wrote: > On 26/08/12 04:18, Paul E. McKenney wrote: > > On Sat, Aug 25, 2012 at 03:16:49PM +0200, Frederic Weisbecker wrote: > >> On Fri, Aug 24, 2012 at 08:50:47PM -0700, Paul E. McKenney wrote: > >>> On Sat, Au

Re: [PATCH 00/11] rcu: Add missing RCU idle APIs on idle loop v2

2012-08-25 Thread Paul E. McKenney
On Sat, Aug 25, 2012 at 03:16:49PM +0200, Frederic Weisbecker wrote: > On Fri, Aug 24, 2012 at 08:50:47PM -0700, Paul E. McKenney wrote: > > On Sat, Aug 25, 2012 at 02:19:14AM +0100, Ben Hutchings wrote: > > > On Fri, 2012-08-24 at 14:26 -0700, Paul E. McKenney wrote: > >

Re: [PATCH 00/11] rcu: Add missing RCU idle APIs on idle loop v2

2012-08-24 Thread Paul E. McKenney
On Sat, Aug 25, 2012 at 02:19:14AM +0100, Ben Hutchings wrote: > On Fri, 2012-08-24 at 14:26 -0700, Paul E. McKenney wrote: > > On Thu, Aug 23, 2012 at 04:58:24PM +0200, Frederic Weisbecker wrote: > > > Hi, > > > > > > Changes since v1: > > > >

Re: [PATCH 00/11] rcu: Add missing RCU idle APIs on idle loop v2

2012-08-24 Thread Paul E. McKenney
On Thu, Aug 23, 2012 at 04:58:24PM +0200, Frederic Weisbecker wrote: > Hi, > > Changes since v1: > > - Fixed preempt handling in alpha idle loop > - added ack from Geert > - fixed stable email address, sorry :-/ > > This time I built tested everywhere but: h8300 (compiler internal error), > and

Re: [PATCH] workqueue: fix spurious CPU locality WARN from process_one_work()

2012-07-22 Thread Paul E. McKenney
K_CPU_UNBOUND. > > Fix it by additionally testing %GCWQ_DISASSOCIATED. > > Signed-off-by: Tejun Heo > Reported-by: "Paul E. McKenney" > LKML-Refence: <20120721213656.ga7...@linux.vnet.ibm.com> > --- > This should fix it.

Re: [PATCH 1/9] workqueue: perform cpu down operations from low priority cpu_notifier()

2012-07-20 Thread Paul E. McKenney
On Tue, Jul 17, 2012 at 10:12:21AM -0700, Tejun Heo wrote: > Currently, all workqueue cpu hotplug operations run off > CPU_PRI_WORKQUEUE which is higher than normal notifiers. This is to > ensure that workqueue is up and running while bringing up a CPU before > other notifiers try to use workqueue