diff options
author | David Vernet <dvernet@meta.com> | 2024-06-18 10:09:20 -1000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-06-18 10:09:20 -1000 |
commit | 90e55164dad42c6546b698c031697b224a320834 (patch) | |
tree | 586288dd624644304c249b061c0078acdbb9b659 /include/linux/sched | |
parent | 36454023f50b2aadd25b7f47c50b5edc0c59e1c0 (diff) |
sched_ext: Implement SCX_KICK_WAIT
If set when calling scx_bpf_kick_cpu(), the invoking CPU will busy wait for
the kicked cpu to enter the scheduler. See the following for example usage:
https://github.com/sched-ext/scx/blob/main/scheds/c/scx_pair.bpf.c
v2: - Updated to fit the updated kick_cpus_irq_workfn() implementation.
- Include SCX_KICK_WAIT related information in debug dump.
Signed-off-by: David Vernet <dvernet@meta.com>
Reviewed-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Josh Don <joshdon@google.com>
Acked-by: Hao Luo <haoluo@google.com>
Acked-by: Barret Rhoden <brho@google.com>
Diffstat (limited to 'include/linux/sched')
0 files changed, 0 insertions, 0 deletions