Re: [RFC,PATCH 2/4] Deprecate synchronize_kernel, GPL replacement

2005-04-04 Thread Paul E. McKenney
On Mon, Apr 04, 2005 at 12:26:50AM +0200, Arnd Bergmann wrote: > On Sünndag 03 April 2005 20:50, Paul E. McKenney wrote: > > I couldn't find any way to suppress the "deprecated" warning that is > > generated by the "&sym" in the last line of the __EXPORT_SYMBOL() > > macro.  Anyone know a way of do

Re: [RFC,PATCH 2/4] Deprecate synchronize_kernel, GPL replacement

2005-04-03 Thread Arnd Bergmann
On Sünndag 03 April 2005 20:50, Paul E. McKenney wrote: > I couldn't find any way to suppress the "deprecated" warning that is > generated by the "&sym" in the last line of the __EXPORT_SYMBOL() > macro.  Anyone know a way of doing this?  There doesn't seem to me > to be any point to giving the war

Re: [RFC,PATCH 2/4] Deprecate synchronize_kernel, GPL replacement

2005-04-03 Thread Paul E. McKenney
On Mon, Apr 04, 2005 at 12:11:56AM +1000, Michael Ellerman wrote: > Hi Paul, > > I'm not quite clear on the difference between the two synchronize functions , > the comment for synchronize_sched() seems to have a bit missing? (see below) > > cheers > > On Sun, 3 Apr 2005 16:21, Paul E. McKenney

Re: [RFC,PATCH 2/4] Deprecate synchronize_kernel, GPL replacement

2005-04-03 Thread Paul E. McKenney
On Sun, Apr 03, 2005 at 02:26:50PM +0530, Dipankar Sarma wrote: > On Sat, Apr 02, 2005 at 10:21:50PM -0800, Paul E. McKenney wrote: > > The synchronize_kernel() primitive is used for quite a few different > > purposes: waiting for RCU readers, waiting for NMIs, waiting for interrupts, > > and so on

Re: [RFC,PATCH 2/4] Deprecate synchronize_kernel, GPL replacement

2005-04-03 Thread Michael Ellerman
Hi Paul, I'm not quite clear on the difference between the two synchronize functions , the comment for synchronize_sched() seems to have a bit missing? (see below) cheers On Sun, 3 Apr 2005 16:21, Paul E. McKenney wrote: > +/** > + * synchronize_sched - block until all CPUs have exited any non-

Re: [RFC,PATCH 2/4] Deprecate synchronize_kernel, GPL replacement

2005-04-03 Thread Dipankar Sarma
On Sat, Apr 02, 2005 at 10:21:50PM -0800, Paul E. McKenney wrote: > The synchronize_kernel() primitive is used for quite a few different > purposes: waiting for RCU readers, waiting for NMIs, waiting for interrupts, > and so on. This makes RCU code harder to read, since synchronize_kernel() > migh

[RFC,PATCH 2/4] Deprecate synchronize_kernel, GPL replacement

2005-04-02 Thread Paul E. McKenney
The synchronize_kernel() primitive is used for quite a few different purposes: waiting for RCU readers, waiting for NMIs, waiting for interrupts, and so on. This makes RCU code harder to read, since synchronize_kernel() might or might not have matching rcu_read_lock()s. This patch creates a new s