aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2024-09-26 12:56:46 -1000
committerTejun Heo <tj@kernel.org>2024-09-26 12:56:46 -1000
commit6f34d8d382d64e7d8e77f5a9ddfd06f4c04937b0 (patch)
tree4ba0d5e4b480765329f359d41383e93ffbc5e578 /rust/helpers/workqueue.c
parentb7b3b2dbae73b412c2d24b3d0ebf1110991e4510 (diff)
sched_ext: Use shorter slice while bypassing
While bypassing, tasks are scheduled in FIFO order which favors tasks that hog CPUs. This can slow down e.g. unloading of the BPF scheduler. While bypassing, guaranteeing timely forward progress is the main goal. There's no point in giving long slices. Shorten the time slice used while bypassing from 20ms to 5ms. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: David Vernet <void@manifault.com>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions