diff options
| author | Tejun Heo <tj@kernel.org> | 2026-03-06 07:58:04 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-03-06 07:58:04 -1000 |
| commit | eff782fddb5cb03c247fdb68b148abfd30cda1fe (patch) | |
| tree | eb495957680a2a908fa0c41fa1591c55f626fab9 /include/linux | |
| parent | cde94c032b32be773ef05db9847be6f02fb123f0 (diff) | |
sched_ext: Convert scx_dump_state() spinlock to raw spinlock
The scx_dump_state() function uses a regular spinlock to serialize
access. In a subsequent patch, this function will be called while
holding scx_sched_lock, which is a raw spinlock, creating a lock
nesting violation.
Convert the dump_lock to a raw spinlock and use the guard macro for
cleaner lock management.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
