Messages in this thread | | | Date | Wed, 15 Feb 2012 14:58:58 +0000 | From | Matthew Garrett <> | Subject | Re: [PATCH] hrtimers: Special-case zero length sleeps |
| |
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
| |