Re: [linux-usb-devel] Re: usb sleep patch

From: Greg KH
Date: Tue May 18 2004 - 14:58:37 EST


On Tue, May 18, 2004 at 09:46:54PM +0200, Oliver Neukum wrote:
>
> > + * msleep - sleep safely even with waitqueue interruptions
> > + * msecs: Time in milliseconds to sleep for
> > + */
> > +static inline void msleep(unsigned int msecs)
>
> Why do you make it inline? After a milisecond the cache is cold,
> so we should shrink the code.

I wasn't thinking, see my final proposed patch.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/