> DEFINE_RCU_SYNC() contains a statically initialized wait queue. SRCU > static definitions similarly rely on persistent lockdep keys and, in > Tiny SRCU, a statically initialized work item. > > Add ASSERT_STATIC_STORAGE() to DEFINE_RCU_SYNC(), both Tree SRCU > __DEFINE_SRCU() variants and Tiny SRCU's common DEFINE_SRCU() declaration. > This covers the non-static FAST and FAST_UPDOWN wrappers too. Tiny SRCU's > explicitly static declarations already enforce the required duration. > The existing per-CPU restrictions on Tree SRCU declarations still apply. > > 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=16

