mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-24 03:40:23 +00:00
10bf25a65f
When --disable-topology is specified the topology information (e.g. llc map) supplied to the BPF code disagrees with how the scheduler operates requiring code paths to be split unnecessarily and making things error-prone (e.g. layer_dsq_id() returned wrong value with --disable-topology). - Add Topology::with_flattened_llc_node() which create a dummy topo with one llc and node regardless of the underlying hardware and make layered use it when --disable-topology. - Add explicit nr_llcs == 1 handling to layer_dsq_id() to generate better code when topology is disabled and remove explicit disable_topology branches in the callers. - Fix layer->cache_mask when a layer doesn't explicitly specify nodes and drop the disable_topology branch in layered_dump(). |
||
---|---|---|
.. | ||
scx_loader | ||
scx_rustland_core | ||
scx_stats | ||
scx_utils | ||
.gitignore |