I like the general idea, but I kinda doubt the "interruptible" versionRespun without interruptible...
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.
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