srcu_read_un..._fast_updown(9)
π srcu_read_unlock_fast_updown β from the Kernel API Manual, bestie π
okay so this is a page from the Kernel API Manual and it's literally about closing out a read-side critical section in the SRCU-fast-updown world. it's giving "the cleanup era" and honestly we respect it β¨
πΈ NAME πΈ
srcu_read_unlock_fast_updown β unregister a old reader from an SRCU-fast-updown structure.
like, you had a old reader registered? we're taking it off the list now. bye bestie ππ
β¨ SYNOPSIS β¨
void srcu_read_unlock_fast_updown (struct srcu_struct *ssp , struct
srcu_ctr __percpu *scp );
that's the whole signature, no cap. two pointers, zero return value, main character energy π«Ά
π¦ ARGUMENTS π¦
sspβ thesrcu_structin which to unregister the old reader. yes the name is literally just "ssp" and we love an unbothered abbreviation πscpβ the return value from the correspondingsrcu_read_lock_fast_updown. iykyk β it's the little token you got back when you locked, and now you're handing it in π
π DESCRIPTION π
Exit an SRCU-fast-updown read-side critical section.
that's it. that's the whole vibe. you were inside the critical section, and now you are not. the way that this is the single most important thing you'll do all day and it's one line πβ¨
π₯ SEE ALSO π₯
Kernel file: ./include/linux/srcu.h
and the whole friend group, fr fr:
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(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)
ngl bestie, the real one:scphas to be the value from the correspondingsrcu_read_lock_fast_updown. don't be out here inventing your own. π
and that's the page!! π sign-off time: this masterpiece lives in ./include/linux, dated October 2026 β periodt, slay, go touch some per-cpu data ππ§ββοΈπ
π¦ 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