write_seqcount_end(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to write_seqcount_end(9) in the Kernel API Manual β€” this one is literally about ending a seqcount_t write side critical section. that's the whole name, and it ate ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

write_seqcount_end (s );

(the spacing is exactly like that, bestie β€” don't come for me πŸ’…)

πŸŽ€ ARGUMENTS πŸŽ€

  • s β€” a pointer to a seqcount_t or any of the seqcount_LOCKNAME_t variants. yep, that's your one job here 🫢

🌸 CONTEXT 🌸

Preemption gets automatically re-enabled if and only if the seqcount write serialization lock is associated, and preemptible. both bits matter β€” this is not a "close enough" situation, iykyk 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./include/linux/seqlock.h β€” and the whole seqlock friend group is here, no cap:


mwah πŸ’– this page lives in ./include/linux and is dated October 2026, and you just finished the write_seqcount_end(9) manual page. slay β€” go end that write side critical section responsibly πŸŽ€βœ¨

πŸ“¦ where this page comes from