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

From: Doug Anderson
Date: Mon Oct 10 2016 - 17:16:54 EST


Hi,

On Mon, Oct 10, 2016 at 12:53 PM, Andreas Mohr <andi@xxxxxxxx> wrote:
> Some thoughts:
> - max >= min pre-condition is validated somewhere, I'd hope?
> (somewhere in outer API frame?)

I don't think this is validated, but it's not a new problem. My patch
doesn't attempt to solve this. A future patch could, though. You can
speculate on whether a WARN_ON would be better or some type of
friendly warning.

-Doug