summaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorEmil Tsalapatis <etsal@meta.com>2025-10-16 21:11:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-01 13:46:08 +0300
commit4a4abb0f9660de9f9336e3880249d5ea918cbabb (patch)
tree53bd692618af2e11950dda3d1a913aefb20eebad /include/linux/overflow.h
parent18228a70a01a49e34fe599ccacc88a2bca70dce2 (diff)
downloadlinux-4a4abb0f9660de9f9336e3880249d5ea918cbabb.tar.xz
sched_ext: fix flag check for deferred callbacks
commit a3c4a0a42e61aad1056a3d33fd603c1ae66d4288 upstream. When scheduling the deferred balance callbacks, check SCX_RQ_BAL_CB_PENDING instead of SCX_RQ_BAL_PENDING. This way schedule_deferred() properly tests whether there is already a pending request for queue_balance_callback() to be invoked at the end of .balance(). Fixes: a8ad873113d3 ("sched_ext: defer queue_balance_callback() until after ops.dispatch") Signed-off-by: Emil Tsalapatis <emil@etsalapatis.com> Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions