Messages in this thread | | | Date | Fri, 3 Aug 2007 20:54:29 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH] msleep() with hrtimers |
| |
* Jonathan Corbet <corbet@lwn.net> wrote:
> Use hrtimers so that msleep() sleeps for the requested time > > Current msleep() snoozes for at least two jiffies, causing msleep(1) > to sleep for at least 20ms on HZ=100 systems. Using hrtimers allows > msleep() to sleep for something much closer to the requested time. > > Signed-off-by: Jonathan Corbet <corbet@lwn.net>
still looks good to me.
Acked-by: Ingo Molnar <mingo@elte.hu>
Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |