scx_bpfland: do not exclude exiting tasks

Add SCX_OPS_ENQ_EXITING to the scheduler flags, since we are not using
bpf_task_from_pid() and the scheduler can handle exiting tasks.

Signed-off-by: Andrea Righi <arighi@nvidia.com>
This commit is contained in:
Andrea Righi 2024-11-05 09:04:10 +01:00
parent eb99e45ced
commit f0c8de3477

View File

@ -1227,5 +1227,6 @@ SCX_OPS_DEFINE(bpfland_ops,
.init_task = (void *)bpfland_init_task,
.init = (void *)bpfland_init,
.exit = (void *)bpfland_exit,
.flags = SCX_OPS_ENQ_EXITING,
.timeout_ms = 5000,
.name = "bpfland");