tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: nanosleep() for shorted than schedule slice

On Sun, Jul 02, 2017 at 10:33:58AM +0200, Emmanuel Dreyfus wrote:
> I wonder if it would make sense for nanosleep(2) to check that requested
> sleeping time is shorter than a schedule slice, and if it is, spin the
> CPU instead of scheduling another process. Any opinion on this?

No, that's wrong. It's also been discussed before.


Home | Main Index | Thread Index | Old Index