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

Thomas Gleixner tglx at linutronix.de
Tue Oct 11 00:14:38 PDT 2016


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







More information about the Linux-rockchip mailing list