Messages in this thread | | | Date | Fri, 21 Sep 2007 00:14:56 -0400 | From | Steven Rostedt <> | Subject | Re: [PATCH RFC 1/9] RCU: Split API to permit multiple RCU implementations |
| |
On Mon, Sep 10, 2007 at 11:32:08AM -0700, Paul E. McKenney wrote:
[nitpick and two part mail ]
> > diff -urpNa -X dontdiff linux-2.6.22/include/linux/rcuclassic.h linux-2.6.22-a-splitclassic/include/linux/rcuclassic.h > --- linux-2.6.22/include/linux/rcuclassic.h 1969-12-31 16:00:00.000000000 -0800 > +++ linux-2.6.22-a-splitclassic/include/linux/rcuclassic.h 2007-08-22 14:42:23.000000000 -0700 > @@ -0,0 +1,149 @@
[snip]
> + local_bh_enable(); \ > + } while (0) > + > +#define __synchronize_sched() synchronize_rcu() > + > +extern void __rcu_init(void); > +extern void rcu_check_callbacks(int cpu, int user); > +extern void rcu_restart_cpu(int cpu); > +extern long rcu_batches_completed(void); > +extern long rcu_batches_completed_bh(void); > +
> +#endif /* __KERNEL__ */ > +#endif /* __LINUX_RCUCLASSIC_H */ > diff -urpNa -X dontdiff linux-2.6.22/include/linux/rcupdate.h linux-2.6.22-a-splitclassic/include/linux/rcupdate.h > --- linux-2.6.22/include/linux/rcupdate.h 2007-07-08 16:32:17.000000000 -0700 > +++ linux-2.6.22-a-splitclassic/include/linux/rcupdate.h 2007-07-19 14:02:36.000000000 -0700
[snip]
> */ > -#define synchronize_sched() synchronize_rcu() > +#define synchronize_sched() __synchronize_sched() > > -extern void rcu_init(void); > -extern void rcu_check_callbacks(int cpu, int user); > -extern void rcu_restart_cpu(int cpu); > -extern long rcu_batches_completed(void); > -extern long rcu_batches_completed_bh(void);
Why is rcu_batches_completed and rcu_batches_completed_bh moved from rcupdate.h to rcuclassic.h?
[ continued ...]
-- Steve
- 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/
| |