read_seqlock_excl_irq(9)
π read_seqlock_excl_irq(9) π
okay bestie, this is the Kernel API Manual entry for read_seqlock_excl_irq β the one that starts a non-interruptible seqlock_t locking reader section. Slay. π
π NAME π
read_seqlock_excl_irq β starts a non-interruptible seqlock_t locking reader section. That's the whole vibe, no cap. β¨
π¦ SYNOPSIS π¦
void read_seqlock_excl_irq (seqlock_t *sl );
πΈ ARGUMENTS πΈ
slβ pointer toseqlock_t. This is the seqlock bestie you're passing in, and yes, keep that exact type. π«Ά
π₯ DESCRIPTION π₯
okay so this is the _irq variant of read_seqlock_excl. Use this only if the seqlock_t write side section, or other read sections, can be invoked from a hardirq context. The way that or other read sections is emphasized? iconic. Don't skip it. π
bestie, that "only if" is real: this is the _irq flavor, so it's for the hardirq-context situation described above. No inventing extra rules, fr fr. β οΈ
π SEE ALSO π
Kernel file: ./include/linux/seqlock.h. The whole squad is here:
seqcount_init(9),SEQCNT_ZERO(9),__read_seqcount_begin(9),raw_read_seqcount_begin(9),read_seqcount_begin(9),raw_read_seqcount(9),raw_seqcount_try_begin(9),raw_seqcount_begin(9),__read_seqcount_retry(9),read_seqcount_retry(9),raw_write_seqcount_begin(9),raw_write_seqcount_end(9),write_seqcount_begin_nested(9),write_seqcount_begin(9),write_seqcount_end(9),raw_write_seqcount_barrier(9),write_seqcount_invalidate(9)SEQCNT_LATCH_ZERO(9),seqcount_latch_init(9),raw_read_seqcount_latch(9),read_seqcount_latch(9),raw_read_seqcount_latch_retry(9),read_seqcount_latch_retry(9),raw_write_seqcount_latch(9),write_seqcount_latch_begin(9),write_seqcount_latch(9),write_seqcount_latch_end(9)seqlock_init(9),DEFINE_SEQLOCK(9),read_seqbegin(9),read_seqretry(9),write_seqlock(9),write_sequnlock(9),write_seqlock_bh(9),write_sequnlock_bh(9),write_seqlock_irq(9),write_sequnlock_irq(9),write_seqlock_irqsave(9),write_sequnlock_irqrestore(9)read_seqlock_excl(9),read_sequnlock_excl(9),read_seqlock_excl_bh(9),read_sequnlock_excl_bh(9),read_sequnlock_excl_irq(9),read_seqlock_excl_irqsave(9),read_sequnlock_excl_irqrestore(9)read_seqbegin_or_lock(9),need_seqretry(9),done_seqretry(9),read_seqbegin_or_lock_irqsave(9),done_seqretry_irqrestore(9),scoped_seqlock_read(9)
That's the page, bestie. source/version: ./include/linux Β· date: October 2026 β go be iconic with your seqlocks. ππ
π¦ 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