mirror of
https://github.com/JakeHillion/scx.git
synced 2024-11-26 19:30:24 +00:00
sdx_lavd: use is_wakeup_ef() in checking wait flag
Signed-off-by: Changwoo Min <changwoo@igalia.com>
This commit is contained in:
parent
419ccae8db
commit
a27b509452
@ -1437,7 +1437,7 @@ void BPF_STRUCT_OPS(lavd_runnable, struct task_struct *p, u64 enq_flags)
|
||||
* is updated. The @current task is a waker and @p is a waiter, which
|
||||
* is being wakened up now.
|
||||
*/
|
||||
if (!(enq_flags & SCX_ENQ_WAKEUP))
|
||||
if (!is_wakeup_ef(enq_flags))
|
||||
return;
|
||||
|
||||
waker = bpf_get_current_task_btf();
|
||||
|
Loading…
Reference in New Issue
Block a user