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

2012-09-12 Thread Tobias Klausmann
Hi! On Mon, 10 Sep 2012, Frederic Weisbecker wrote: > > AFAICT, schedule_preempt_disabled() was only introduced in 3.4 > > and thus needs to be backported for 3.3. > > Please try with this instead: > > preempt_enable_no_resched(); > schedule(); > preempt_disable(); > > Thanks

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

2012-09-11 Thread Frederic Weisbecker
On Mon, Sep 10, 2012 at 03:58:45PM -0700, Paul E. McKenney wrote: > > Anyway, should I resend the patchset with this thing fixed? > > Please feel free to do so. ;-) > > Thanx, Paul > So here it is. On the menu for the updated branch: - fi

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 wrote: > > > > Hi, > > > > > > >

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

2012-09-10 Thread Frederic Weisbecker
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: > > > > > > - Fixed preempt handling in alpha idle loop > >

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

2012-09-10 Thread Frederic Weisbecker
On Sun, Aug 26, 2012 at 11:21:37AM +0200, Tobias Klausmann wrote: > Hi! > > On Sat, 25 Aug 2012, Paul E. McKenney wrote: > > Both Alpha patches should apply as-is back to 3.3, and should also fix > > the problem. Could you please check this on the versions of interest? > > I just now tried them

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

2012-08-26 Thread Tobias Klausmann
Hi! On Sat, 25 Aug 2012, Paul E. McKenney wrote: > Both Alpha patches should apply as-is back to 3.3, and should also fix > the problem. Could you please check this on the versions of interest? I just now tried them on top of 3.3.8 from linux-stable.git. While they apply cleanly, I get a compil

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, Aug 25, 2012 at 02:19:14AM +0100,

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

2012-08-25 Thread Michael Cree
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, Aug 25, 2012 at 02:19:14AM +0100, Ben Hutchings wrote: On Fri, 2012-08-24 at 14:26 -0700, Paul E. M

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: > > > > On Thu, Aug 23, 2012 a

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

2012-08-25 Thread Frederic Weisbecker
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: > > > On Thu, Aug 23, 2012 at 04:58:24PM +0200, Frederic Weisbecker wrote: > > > > Hi, > > > > > > > > C

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: > > > > > > - Fixed preempt handling in alpha idle loop > >

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

2012-08-24 Thread Michael Cree
On 25/08/12 13:19, 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: >>> >>> - Fixed preempt handling in alpha idle loop >>> - added ack from Geert >>> - fixed s

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

2012-08-24 Thread Ben Hutchings
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: > > > > - Fixed preempt handling in alpha idle loop > > - added ack from Geert > > - fixed stable email address, sorry :-/ > > > > T

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

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

2012-08-23 Thread Frederic Weisbecker
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 mn10300, parisc, score (cross compilers not available in ftp://ftp.kernel.org/pub/tools/c