scx-upstream/rust
Tejun Heo 10bf25a65f topology, scx_layered: Make --disable-topology handling more consistent
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().
2024-11-18 12:19:01 -10:00
..
scx_loader scx_loader: tune scx_bpfland default options 2024-11-07 17:54:13 +01:00
scx_rustland_core Merge branch 'main' of https://github.com/sched-ext/scx into core_enums 2024-11-06 12:44:23 -08:00
scx_stats version: v1.0.6 2024-11-06 06:54:26 -10:00
scx_utils topology, scx_layered: Make --disable-topology handling more consistent 2024-11-18 12:19:01 -10:00
.gitignore generate docs for scx and kernel 2024-09-09 15:37:59 -04:00