summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2026-02-11 21:30:27 +0000
committerTejun Heo <tj@kernel.org>2026-02-12 07:30:17 -1000
commit988369d236e46e6bc68d2616fbc008aa6b06a454 (patch)
tree84a01545b76fc847714d87ef0bec8eb3ade0df06 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent11fece49e956ef97318177f5af15a84317594244 (diff)
tools/sched_ext: scx_central: fix sched_setaffinity() call with the set size
The cpu set is dynamically allocated for nr_cpu_ids using CPU_ALLOC(), so the size passed to sched_setaffinity() should be CPU_ALLOC_SIZE() rather than sizeof(cpu_set_t). Valgrind flagged this as accessing unaddressable bytes past the allocation. 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