srcu_read_unlock_fast(9)
π srcu_read_unlock_fast(9) β from the Kernel API Manual, bestie π
okay so picture this: you're deep in kernel land, living your best life inside a light-weight SRCU read-side critical section, and now it's time to leave β¨. That's literally this function. She's the exit door, she's iconic, she's got your back π«Ά
πΈ NAME πΈ
srcu_read_unlock_fast β unregister a old reader from an SRCU-protected structure. yes bestie, "a old reader", that's the original wording, I'm not touching it π she's quirky like that.
β¨ SYNOPSIS β¨
void srcu_read_unlock_fast (struct srcu_struct *ssp , struct srcu_ctr __percpu *scp );
two args, zero return value, all vibes π₯
π¦ ARGUMENTS π¦
sspβ thesrcu_structyou're unregistering the old reader from. that's her house, that's where the paperwork happens πscpβ this one's important, bestie π it's the return value from the correspondingsrcu_read_lock_fast. like, the matching one. the one that goes with it. no cap, don't just grab a random one π
π DESCRIPTION π
Exit a light-weight SRCU read-side critical section. that's it, that's the whole thing, she's a simple girlie with a simple job π you were in the light-weight section, now you're not, and the kernel is at peace π
π SEE ALSO π
okay this list is long and honestly it ate, so let me lay it out for you π
- Kernel file
./include/linux/srcu.hβ that's where she lives, iykyk 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_read_lock_nmisafe(9)srcu_down_read(9)srcu_read_unlock(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)
the whole friend group, fr fr π go read srcu_read_lock_fast(9) first if you haven't, she's the one who opens the section you're closing here π
main character energy: you cannot unlock what you never locked. pair the right scp with the right lock call, bestie π§
and that's the page!! π sourced straight from ./include/linux, dated October 2026, filed under srcu_read_unlock_fast(9) in the Kernel API Manual β slay, go forth, and exit those critical sections responsibly πβ¨
π¦ 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