Re: 2.6.23-rc2-mm1: rcutorture xtime usage

2007-08-11 Thread Paul E. McKenney
On Sat, Aug 11, 2007 at 08:09:09PM +0200, Ingo Molnar wrote: > > * Paul E. McKenney <[EMAIL PROTECTED]> wrote: > > > Add an EXPORT_SYMBOL_GPL() for cpu_clock() and make rcutorture.c use it. > > Compiles, but not yet tested. > > > > Signed-off-by: Paul E. McKenney <[EMAIL PROTECTED]> > > > --- l

Re: 2.6.23-rc2-mm1: rcutorture xtime usage

2007-08-11 Thread Ingo Molnar
* Paul E. McKenney <[EMAIL PROTECTED]> wrote: > Add an EXPORT_SYMBOL_GPL() for cpu_clock() and make rcutorture.c use it. > Compiles, but not yet tested. > > Signed-off-by: Paul E. McKenney <[EMAIL PROTECTED]> > --- linux-2.6.23-rc2/kernel/sched.c 2007-08-03 19:49:55.0 -0700 > +++ linu

Re: 2.6.23-rc2-mm1: rcutorture xtime usage

2007-08-10 Thread Paul E. McKenney
On Fri, Aug 10, 2007 at 05:29:49PM -0700, Paul E. McKenney wrote: > > Errmmm... No joy. > > ERROR: "cpu_clock" [kernel/rcutorture.ko] undefined! > > Turns out that cpu_clock also ain't exported, and rcutorture.c is > a module. Would adding an EXPORT_SYMBOL_GPL() as in the patch below > b

Re: 2.6.23-rc2-mm1: rcutorture xtime usage

2007-08-10 Thread Paul E. McKenney
On Fri, Aug 10, 2007 at 01:30:55PM -0700, Paul E. McKenney wrote: > On Fri, Aug 10, 2007 at 10:12:12AM -0700, Andrew Morton wrote: > > On Fri, 10 Aug 2007 08:12:08 -0700 "Paul E. McKenney" <[EMAIL PROTECTED]> > > wrote: > > > > > > One used to use sched_clock() for this, then get frowned at. Now

Re: 2.6.23-rc2-mm1: rcutorture xtime usage

2007-08-10 Thread Paul E. McKenney
On Fri, Aug 10, 2007 at 10:12:12AM -0700, Andrew Morton wrote: > On Fri, 10 Aug 2007 08:12:08 -0700 "Paul E. McKenney" <[EMAIL PROTECTED]> > wrote: > > > > One used to use sched_clock() for this, then get frowned at. Now we > > > have cpu_clock()... > > > > Hmmm... And cpu_clock() is not in 2.

Re: 2.6.23-rc2-mm1: rcutorture xtime usage

2007-08-10 Thread Andrew Morton
On Fri, 10 Aug 2007 08:12:08 -0700 "Paul E. McKenney" <[EMAIL PROTECTED]> wrote: > > One used to use sched_clock() for this, then get frowned at. Now we > > have cpu_clock()... > > Hmmm... And cpu_clock() is not in 2.6.22, so must appear in some later > release. Which means that the rate of AP

Re: 2.6.23-rc2-mm1: rcutorture xtime usage

2007-08-10 Thread Paul E. McKenney
On Thu, Aug 09, 2007 at 07:06:23PM -0700, Andrew Morton wrote: > On Thu, 9 Aug 2007 19:00:40 -0700 "Paul E. McKenney" <[EMAIL PROTECTED]> > wrote: > > > On Fri, Aug 10, 2007 at 03:31:46AM +0200, Adrian Bunk wrote: > > > On Thu, Aug 09, 2007 at 01:51:06AM -0700, Andrew Morton wrote: > > > >... > >

Re: 2.6.23-rc2-mm1: rcutorture xtime usage

2007-08-09 Thread Adrian Bunk
On Thu, Aug 09, 2007 at 07:00:40PM -0700, Paul E. McKenney wrote: > On Fri, Aug 10, 2007 at 03:31:46AM +0200, Adrian Bunk wrote: > > On Thu, Aug 09, 2007 at 01:51:06AM -0700, Andrew Morton wrote: > > >... > > > Changes since 2.6.23-rc2-mm1: > > >... > > > +allow-rcutorture-to-handle-synchronize_sch

Re: 2.6.23-rc2-mm1: rcutorture xtime usage

2007-08-09 Thread Andrew Morton
On Thu, 9 Aug 2007 19:00:40 -0700 "Paul E. McKenney" <[EMAIL PROTECTED]> wrote: > On Fri, Aug 10, 2007 at 03:31:46AM +0200, Adrian Bunk wrote: > > On Thu, Aug 09, 2007 at 01:51:06AM -0700, Andrew Morton wrote: > > >... > > > Changes since 2.6.23-rc2-mm1: > > >... > > > +allow-rcutorture-to-handle-

Re: 2.6.23-rc2-mm1: rcutorture xtime usage

2007-08-09 Thread Paul E. McKenney
On Fri, Aug 10, 2007 at 03:31:46AM +0200, Adrian Bunk wrote: > On Thu, Aug 09, 2007 at 01:51:06AM -0700, Andrew Morton wrote: > >... > > Changes since 2.6.23-rc2-mm1: > >... > > +allow-rcutorture-to-handle-synchronize_sched.patch > >... > > 2.6.23 queue > >... > > All drivers were converted to no

2.6.23-rc2-mm1: rcutorture xtime usage

2007-08-09 Thread Adrian Bunk
On Thu, Aug 09, 2007 at 01:51:06AM -0700, Andrew Morton wrote: >... > Changes since 2.6.23-rc2-mm1: >... > +allow-rcutorture-to-handle-synchronize_sched.patch >... > 2.6.23 queue >... All drivers were converted to no longer use xtime directly since it might be quite outdated, but this patch adds