diff options
| author | David Carlier <devnexen@gmail.com> | 2026-02-24 08:56:37 +0300 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-02-24 20:59:24 +0300 |
| commit | 477174ac35c510d0ed3043f5bd4fba25546a21ce (patch) | |
| tree | 60a2bc064e6e7129b8e2a5aa6e0c726f2a377e3e /tools | |
| parent | 658ad2259b3e95aea21e548f7ca3440f620bf95f (diff) | |
| download | linux-477174ac35c510d0ed3043f5bd4fba25546a21ce.tar.xz | |
sched_ext: Optimize sched_ext_entity layout for cache locality
Reorder struct sched_ext_entity to place ops_state, ddsp_dsq_id, and
ddsp_enq_flags immediately after dsq. These fields are accessed together
in the do_enqueue_task() and finish_dispatch() hot paths but were
previously spread across three different cache lines. Grouping them on
the same cache line reduces cache misses on every enqueue and dispatch
operation.
Signed-off-by: David Carlier <devnexen@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
