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

Doug Anderson dianders at chromium.org
Mon Oct 10 14:16:48 PDT 2016


Hi,

On Mon, Oct 10, 2016 at 12:53 PM, Andreas Mohr <andi at lisas.de> 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



More information about the Linux-rockchip mailing list