Re: [PATCH v2] timers: Fix usleep_range() in the context of wake_up_process()

From: Thomas Gleixner
Date: Tue Oct 11 2016 - 03:17:34 EST


On Mon, 10 Oct 2016, Douglas Anderson wrote:
> Users of usleep_range() expect that it will _never_ return in less time
> than the minimum passed parameter. However, nothing in any of the code
> ensures this. Specifically:

There is no such guarantee for that interface and never has been, so how
did you make sure that none of the existing users is relying on this?

You can't just can't just declare that all all of the users expect that and
be done with it.

Thanks,

tglx