Re: [PATCH 02/11] sched/wait,drm: Replace wait_on_atomic_t usage
From: Chris Wilson
Date: Thu Mar 15 2018 - 08:52:09 EST
Quoting Peter Zijlstra (2018-03-15 12:19:04)
> Convert the wait_on_atomic_t() usage to the new wait_var_event() API.
>
> Unlike the wake_up_atomic_t(), wake_up_var() will issue the wakeup
> even if the variable is not 0.
>
> Cc: Daniel Vetter <daniel.vetter@xxxxxxxxx>
> Cc: David Airlie <airlied@xxxxxxxx>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
-Chris