summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-04-19 18:33:41 +0300
committerTejun Heo <tj@kernel.org>2026-04-19 18:47:28 +0300
commit87019cb6c26178cef8fb9f9265b6ab7c4bda5262 (patch)
treec7e4863841156d9a14254f5f736eae936b7dfba6 /include/linux
parent73bd1227787bfe73eea3d04c63a89cb55db9c23e (diff)
downloadlinux-87019cb6c26178cef8fb9f9265b6ab7c4bda5262.tar.xz
sched_ext: Mark scx_sched_hash insecure_elasticity
scx_sched_hash is inserted into under scx_sched_lock (raw_spinlock_irq) in scx_link_sched(). rhashtable's sync grow path calls get_random_u32() and does a GFP_ATOMIC allocation; both acquire regular spinlocks, which is unsafe under raw_spinlock_t. Set insecure_elasticity to skip the sync grow. v2: - Dropped dsq_hash changes. Insertion is not under raw_spin_lock. - Switched from no_sync_grow flag to insecure_elasticity. Fixes: 25037af712eb ("sched_ext: Add rhashtable lookup for sub-schedulers") Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions