Re: [RFC] [PATCH] timer: Added usleep[_range][_interruptable] timer
From: Andi Kleen
Date: Thu Jun 24 2010 - 06:22:56 EST
Patrick Pannuto <ppannuto@xxxxxxxxxxxxxx> writes:
Overall it seems like a good improvement.
> +static inline void usleep(unsigned long usecs)
> + usleep_range(usecs, usecs);
> +static inline unsigned long usleep_interruptible(unsigned long usecs)
Is the interruptible case even needed? I assume most drivers won't
bother with that and not being interruptible for a few usecs is not a
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
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/