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

From: Matthew Garrett
Date: Wed Feb 15 2012 - 09:58:59 EST


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@xxxxxxxxxxxxx
--
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/