logo       

Re: [Kernel-janitors] [PATCH] yield() replaced with schedule/schedule_timeo: msg#00166

Subject: Re: [Kernel-janitors] [PATCH] yield() replaced with schedule/schedule_timeout
On Mon, 24 May 2004, Greg KH wrote:

> On Mon, May 24, 2004 at 12:46:57PM +0200, maximilian attems wrote:
> > hello greg,
> > 
> > On Thu, 20 May 2004, Greg KH wrote:
> > 
> > > On Thu, May 20, 2004 at 01:41:11PM -0700, Randy.Dunlap wrote:
> > > > For some of these, a new function that was just added might be
> > > > the appropriate kernel API to use.  Look at msleep() [merged
> > > > 2004-may-18] to see if it can be used.  It's in include/linux/delay.h
> > > > in a kernel bk pull or bk patch and will be in 2.6.7.
> > > 
> > > I agree, most of the longer delays in the kernel can be converted to use
> > > msleep() as it will work properly.  Yet another thing to add to the
> > > janitor list :)
> > 
> > please detail functionnames of these longer delays for the TODO?
> > 
> > does it affect the patches from Gustavo Franco?
> > yield-* in http://debian.stro.at/kjt/2.6.7-rc1-kjt1/split/
> 
> Yes it does, they should use msleep() instead of creating their own
> (incorrect) function.

ok cool, added item to latest kj TODO.

thanks
maks
 
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@xxxxxxxxxxxxxx
http://lists.osdl.org/mailman/listinfo/kernel-janitors
<Prev in Thread] Current Thread [Next in Thread>