summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorAndrea Righi <arighi@nvidia.com>2025-05-15 21:11:43 +0200
committerTejun Heo <tj@kernel.org>2025-05-20 10:24:05 -1000
commit686d1337237161833684d8554c6e3ea2d692bd41 (patch)
treea6049e6c59698850afb8b8a7df429ac516c9daee /scripts/lib/kdoc/kdoc_re.py
parent617a77018f683905ed4e8cd693df51243908353f (diff)
sched_ext: idle: Validate locking correctness in scx_bpf_select_cpu_and()
Validate locking correctness when accessing p->nr_cpus_allowed and p->cpus_ptr inside scx_bpf_select_cpu_and(): if the rq lock is held, access is safe; otherwise, require that p->pi_lock is held. This allows to catch potential unsafe calls to scx_bpf_select_cpu_and(). Signed-off-by: Andrea Righi <arighi@nvidia.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions