Re: [PATCH] timer: Added usleep[_range] timer

From: Arjan van de Ven
Date: Mon Jul 19 2010 - 18:22:44 EST


On 7/19/2010 3:12 PM, Patrick Pannuto wrote:
I like the general idea, but I kinda doubt the "interruptible" version
makes sense for this...
do you have any users for that in mind? if not... can we leave the
interruptible version out... makes it simpler by a lot.

Respun without interruptible...


From 08b717cf4f76d7578cb20c1b1444d89a9331ce02 Mon Sep 17 00:00:00 2001
From: Patrick Pannuto<ppannuto@xxxxxxxxxxxxxx>
Date: Mon, 19 Jul 2010 15:09:26 -0700
Subject: [PATCH] timer: Added usleep[_range] timer

usleep[_range] are finer precision implementations of msleep
and are designed to be drop-in replacements for udelay where
a precise sleep / busy-wait is unnecessary. They also allow
an easy interface to specify slack when a precise (ish)
wakeup is unnecessary to help minimize wakeups


excellent

Acked-by: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>

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