]> git.ipfire.org Git - thirdparty/linux.git/commit
sched_ext: Remove redundant rcu_read_lock/unlock() in sysrq_handle_sched_ext_reset()
authorZqiang <qiang.zhang@linux.dev>
Thu, 30 Apr 2026 08:45:43 +0000 (16:45 +0800)
committerTejun Heo <tj@kernel.org>
Mon, 4 May 2026 21:00:31 +0000 (11:00 -1000)
commitd757ac2ee7bfda90c64b60a6593a2139a06f79b2
tree8e72fdaf0e028796968bc33c0564d4306fd651f4
parent97f86c38abe62c911ff20bc3e00b0937842f79c0
sched_ext: Remove redundant rcu_read_lock/unlock() in sysrq_handle_sched_ext_reset()

sysrq_handle_sched_ext_reset() is called from __handle_sysrq(), which
already holds rcu_read_lock() while invoking the sysrq handler. Remove
the redundant rcu_read_lock/unlock() pair.

Signed-off-by: Zqiang <qiang.zhang@linux.dev>
Reviewed-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/ext.c