Re: [PATCH] hrtimers: Special-case zero length sleeps

Matthew Garrett
2012-02-15T14:59:01Z

Regardless of whether userspace should be concerning itself about this
kind of thing or not, there's plenty of userspace that calls sleep(0) on
the assumption that it'll get rescheduled. This makes using whole-system
timer slack difficult, because there are some applications that do this
even if they're event-driven and sleeping for significant lengths of
time here breaks them. I'd certainly understand the argument for fixing
userspace instead, but that's a massive task for something that's easily
special-cased in the kernel.

--
Matthew Garrett | mjg59@srcf.ucam.org