Re: [PATCH RFC 3/9] RCU: Preemptible RCU

2007-09-21 Thread Steven Rostedt
On Mon, Sep 10, 2007 at 11:34:12AM -0700, Paul E. McKenney wrote: + +/* + * PREEMPT_RCU data structures. + */ + +#define GP_STAGES 4 +struct rcu_data { + spinlock_t lock; /* Protect rcu_data fields. */ + longcompleted; /* Number of last completed

[PATCH 1/1] ARCH PowerPC: Consider new flags in assembler instructions

2007-09-21 Thread Juergen Beisert
Subject: [PATCH 1/1] ARCH PowerPC: Consider new flags in assembler instructions Additional flags in bit 16 and 17 require changes in the assembler code to handle these new flags. The old instructions only can handle 16 bits. Now there are 18. Note: I'm not an expert in PowerPC assembler, so there

Re: [PATCH v3 2/4] Implement generic time of day clocksource for powerpc machines.

2007-09-21 Thread Tony Breeds
Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- Updated to create a clocksource driver specific to the 601 Updated to address feedback from sfr Only compile tested. arch/powerpc/Kconfig |6 arch/powerpc/kernel/time.c | 255 - 2 files changed, 91

Re: [PATCH RFC 3/9] RCU: Preemptible RCU

2007-09-21 Thread Paul E. McKenney
On Fri, Sep 21, 2007 at 11:20:48AM -0400, Steven Rostedt wrote: On Mon, Sep 10, 2007 at 11:34:12AM -0700, Paul E. McKenney wrote: + +/* + * PREEMPT_RCU data structures. + */ + +#define GP_STAGES 4 +struct rcu_data { + spinlock_t lock; /* Protect rcu_data fields.

Re: [PATCH RFC 3/9] RCU: Preemptible RCU

2007-09-21 Thread Paul E. McKenney
On Fri, Sep 21, 2007 at 07:23:09PM -0400, Steven Rostedt wrote: -- On Fri, 21 Sep 2007, Paul E. McKenney wrote: If you do a synchronize_rcu() it might well have to wait through the following sequence of states: Stage 0: (might have to wait through part of this to get out of next

Re: [PATCH RFC 3/9] RCU: Preemptible RCU

2007-09-21 Thread Steven Rostedt
On Fri, 21 Sep 2007, Paul E. McKenney wrote: On Fri, Sep 21, 2007 at 10:40:03AM -0400, Steven Rostedt wrote: On Mon, Sep 10, 2007 at 11:34:12AM -0700, Paul E. McKenney wrote: Covering the pieces that weren't in Peter's reply. ;-) And thank you -very- much for the careful and thorough

Re: [PATCH RFC 3/9] RCU: Preemptible RCU

2007-09-21 Thread Paul E. McKenney
On Fri, Sep 21, 2007 at 09:19:22PM -0400, Steven Rostedt wrote: -- On Fri, 21 Sep 2007, Paul E. McKenney wrote: In any case, I will be looking at the scenarios more carefully. If it turns out that GP_STAGES can indeed be cranked down a bit, well, that is an easy change! I just

Re: [PATCH RFC 3/9] RCU: Preemptible RCU

2007-09-21 Thread Paul E. McKenney
On Fri, Sep 21, 2007 at 09:15:03PM -0400, Steven Rostedt wrote: On Fri, 21 Sep 2007, Paul E. McKenney wrote: On Fri, Sep 21, 2007 at 10:40:03AM -0400, Steven Rostedt wrote: On Mon, Sep 10, 2007 at 11:34:12AM -0700, Paul E. McKenney wrote: [ . . . ] + /* +* Take the

Re: [PATCH RFC 3/9] RCU: Preemptible RCU

2007-09-21 Thread Steven Rostedt
[ sneaks away from the family for a bit to answer emails ] -- On Fri, 21 Sep 2007, Paul E. McKenney wrote: On Fri, Sep 21, 2007 at 09:19:22PM -0400, Steven Rostedt wrote: -- On Fri, 21 Sep 2007, Paul E. McKenney wrote: In any case, I will be looking at the scenarios more

Re: [PATCH RFC 3/9] RCU: Preemptible RCU

2007-09-21 Thread Steven Rostedt
[took off Ingo, because he has my ISP blacklisted, and I'm tired of getting those return mail messages. He can read LKML or you can re-CC him. Sad since this is a topic he should be reading. ] -- On Fri, 21 Sep 2007, Paul E. McKenney wrote: On Fri, Sep 21, 2007 at 09:15:03PM -0400, Steven