diff options
| author | David Carlier <devnexen@gmail.com> | 2026-02-17 20:08:36 +0000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-02-18 07:03:57 -1000 |
| commit | 625be3456b3ced6e2dca6166962c0cf6cc2e546d (patch) | |
| tree | 490e4be1332f4150bb869200df639c40b62736ad /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 55a24d9203979d1cd0196ba1d189860e8b828c2e (diff) | |
tools/sched_ext: scx_pair: fix stride == 0 crash on single-CPU systems
nr_cpu_ids / 2 produces stride 0 on a single-CPU system, which later
causes SCX_BUG_ON(i == j) to fire. Validate stride after option
parsing to also catch invalid user-supplied values via -S.
Signed-off-by: David Carlier <devnexen@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
