diff options
| author | Tejun Heo <[email protected]> | 2024-07-12 18:20:33 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2024-07-12 18:20:33 +0000 |
| commit | 1edab907b57d42e2dcf4c16a00185a89209e8700 (patch) | |
| tree | 96b424ec5a976d00bc4634416b597cb4a0c7d465 /lib/dump_stack.c | |
| parent | sched_ext: Allow SCX_DSQ_LOCAL_ON for direct dispatches (diff) | |
| download | kernel-1edab907b57d42e2dcf4c16a00185a89209e8700.tar.gz kernel-1edab907b57d42e2dcf4c16a00185a89209e8700.zip | |
sched_ext/scx_qmap: Pick idle CPU for direct dispatch on !wakeup enqueues
Because there was no way to directly dispatch to the local DSQ of a remote
CPU from ops.enqueue(), scx_qmap skipped looking for an idle CPU on !wakeup
enqueues. This restriction was removed and sched_ext now allows
SCX_DSQ_LOCAL_ON verdicts for direct dispatches.
Factor out pick_direct_dispatch_cpu() from ops.select_cpu() and use it to
direct dispatch from ops.enqueue() on !wakeup enqueues.
Signed-off-by: Tejun Heo <[email protected]>
Acked-by: David Vernet <[email protected]>
Cc: Dan Schatzberg <[email protected]>
Cc: Changwoo Min <[email protected]>
Cc: Andrea Righi <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions
