srcu_read_lock_nmisafe(9)
π 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β thesrcu_structin 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: ifsrcu_read_lock_nmisafeis ever used on ansrcu_structstructure, 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 π¦
- Kernel file
./include/linux/srcu.h get_completed_synchronize_srcu(9)same_state_synchronize_srcu(9)srcu_read_lock_held(9)srcu_dereference_check(9)srcu_dereference(9)srcu_dereference_notrace(9)srcu_read_lock(9)srcu_read_lock_fast(9)srcu_read_lock_fast_updown(9)srcu_down_read_fast(9)srcu_down_read(9)srcu_read_unlock(9)srcu_read_unlock_fast(9)srcu_read_unlock_fast_updown(9)srcu_up_read_fast(9)srcu_read_unlock_nmisafe(9)srcu_up_read(9)smp_mb__after_srcu_read_unlock(9)smp_mb__after_srcu_read_lock(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms