> The static rwsem initializers rely on persistent lockdep class keys,
> both for their own maps and for embedded locks or wait queues.
> 
> Enforce static storage in DECLARE_RWSEM(), including PREEMPT_RT, and in
> __DEFINE_PERCPU_RWSEM(), covering both public per-CPU rwsem declarations.
> Automatic objects must use init_rwsem() or percpu_init_rwsem().
> 
> Assisted-by: OpenAI Codex
> Signed-off-by: Yury Norov <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/[email protected]?part=3


Reply via email to