Re: 2.6.23-rc2-mm1: rcutorture xtime usage

Adrian Bunk
2007-08-10T02:22:51Z

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_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 a usage of xtime.tv_nsec
> > as RNG...
>
> This code doesn't care if the time is outdated, as it is simply
> periodically perturbing an RNG, but OK.
>...

I should have been a bit more concrete:

I have a patch pending to unexport xtime for catching unsafe usages, and
you added an (ab)user.

> Thanx, Paul

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed