scx_flatcg: Use a user DSQ for fallback instead of SCX_DSQ_GLOBAL
authorTejun Heo <tj@kernel.org>
Thu, 26 Sep 2024 22:56:46 +0000 (12:56 -1000)
committerTejun Heo <tj@kernel.org>
Thu, 26 Sep 2024 22:56:46 +0000 (12:56 -1000)
commitc9c809f4137c3c0f962226c10d245d3ce2fd5b7c
tree32ab9b3beb467721b7f41f14620bdc932caf163e
parenta748db0c8c6a88da66c3ab3791bd1a229f4a7fee
scx_flatcg: Use a user DSQ for fallback instead of SCX_DSQ_GLOBAL

scx_flatcg was using SCX_DSQ_GLOBAL for fallback handling. However, it is
assuming that SCX_DSQ_GLOBAL isn't automatically consumed, which was true a
while ago but is no longer the case. Also, there are further changes planned
for SCX_DSQ_GLOBAL which will disallow explicit consumption from it. Switch
to a user DSQ for fallback.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: David Vernet <void@manifault.com>
tools/sched_ext/scx_flatcg.bpf.c