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. Joerg