srcu_read_lock_nmisafe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

srcu_read_lock_nmisafe β€” register a new reader for an SRCU-protected structure. πŸ’…

hey bestie, welcome to the srcu_read_lock_nmisafe(9) page from the Kernel API Manual ✨ this is the one where we slide into an SRCU read-side critical section in an NMI-safe way πŸŽ€


✨ SYNOPSIS ✨

int srcu_read_lock_nmisafe (struct srcu_struct *ssp );

πŸŽ€ ARGUMENTS πŸŽ€

  • ssp β€” the srcu_struct in which to register the new reader. that's the lil home for your new reader 🫢

πŸ’… DESCRIPTION πŸ’…

okay so this function enters an SRCU read-side critical section, but in an NMI-safe manner ✨ yes bestie, NMI-safe, we love a specialized entrance 🌸

for the full lore, see srcu_read_lock for more information πŸ’–

real talk though: if srcu_read_lock_nmisafe is ever used on an srcu_struct structure, then none of the other flavors may be used, whether before, during, or after. πŸ’€ no cap, that's the rule β€” pick your lane and stay in it πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

mwah πŸ’‹ this lil page comes from ./include/linux, dated October 2026, and it's all about srcu_read_lock_nmisafe(9) β€” bye bestie, go slay those SRCU readers! 🫢πŸ”₯

πŸ“¦ where this page comes from