diff options
author | 2025-04-09 09:06:00 -1000 | |
---|---|---|
committer | 2025-04-09 09:06:00 -1000 | |
commit | 0b304617936094b1e55c0b3e5903ce7d4f1bc32b (patch) | |
tree | 65c946ee7db1e5b0eb718565acb0d2d205c64e23 /scripts/lib/kdoc/kdoc_files.py | |
parent | sched_ext: Remove scx_ops_allow_queued_wakeup static_key (diff) | |
download | wireguard-linux-0b304617936094b1e55c0b3e5903ce7d4f1bc32b.tar.xz wireguard-linux-0b304617936094b1e55c0b3e5903ce7d4f1bc32b.zip |
sched_ext: Make scx_has_op a bitmap
scx_has_op is used to encode which ops are implemented by the BPF scheduler
into an array of static_keys. While this saves a bit of branching overhead,
that is unlikely to be noticeable compared to the overall cost. As the
global static_keys can't work with the planned hierarchical multiple
scheduler support, replace the static_key array with a bitmap.
In repeated hackbench runs before and after static_keys removal on an AMD
Ryzen 3900X, I couldn't tell any measurable performance difference.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Changwoo Min <changwoo@igalia.com>
Acked-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions