mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 16:41:39 +00:00
431844b65f
As discussed during the distro-centric session within the sched_ext Microconference at LPC 2024, introduce a sequence counter that is incremented every time a BPF scheduler is loaded. This feature can help distributions in diagnosing potential performance regressions by identifying systems where users are running (or have ran) custom BPF schedulers. Example: arighi@virtme-ng~> cat /sys/kernel/sched_ext/enable_seq 0 arighi@virtme-ng~> sudo scx_simple local=1 global=0 ^CEXIT: unregistered from user space arighi@virtme-ng~> cat /sys/kernel/sched_ext/enable_seq 1 In this way user-space tools (such as Ubuntu's apport and similar) are able to gather and include this information in bug reports. Cc: Giovanni Gherdovich <giovanni.gherdovich@suse.com> Cc: Kleber Sacilotto de Souza <kleber.souza@canonical.com> Cc: Marcelo Henrique Cerri <marcelo.cerri@canonical.com> Cc: Phil Auld <pauld@redhat.com> Signed-off-by: Andrea Righi <andrea.righi@linux.dev> Signed-off-by: Tejun Heo <tj@kernel.org> |
||
---|---|---|
.. | ||
completion.rst | ||
index.rst | ||
membarrier.rst | ||
sched-arch.rst | ||
sched-bwc.rst | ||
sched-capacity.rst | ||
sched-deadline.rst | ||
sched-debug.rst | ||
sched-design-CFS.rst | ||
sched-domains.rst | ||
sched-eevdf.rst | ||
sched-energy.rst | ||
sched-ext.rst | ||
sched-nice-design.rst | ||
sched-pelt.c | ||
sched-rt-group.rst | ||
sched-stats.rst | ||
sched-util-clamp.rst | ||
schedutil.rst | ||
text_files.rst |