arch_in_rcu_eqs(9)
π arch_in_rcu_eqs(9) β the Kernel API Manual, bestie edition π
okay so welcome to arch_in_rcu_eqs(9), a page from the Kernel API Manual β¨ and honestly? it's giving "small function, huge responsibility" energy. it's a little arch-specific vibe check for RCU extended quiescent states, and we're gonna get into it π«Ά
πΈ NAME πΈ
arch_in_rcu_eqs β an architecture-specific check for RCU extended quiescent states, no cap π
β¨ SYNOPSIS β¨
bool arch_in_rcu_eqs (void );
literally just that. one function, zero drama π¦
π ARGUMENTS π
voidβ no arguments, bestie. nothing goes in. it's a clean slate, main character energy only π
β RETURN β
trueif the CPU is potentially in an RCU EQSfalseotherwise
that's it, that's the whole return contract π
π DESCRIPTION π
so here's the tea β β architectures only need to define this if threads other than the idle thread may have an interruptible EQS. this does not need to handle idle threads. got it? good, write that down π
and the way that over-estimating is completely fine?? yesss β it's safe to over-estimate, it just costs you redundant RCU management work. so like, being a little extra is allowed here, you just pay for it in vibes (and CPU cycles) π₯
it's invoked from irqentry_enter β that's the call site, iykyk π«
π SEE ALSO π
the kernel file that lives here: ./include/linux/irq-entry-common.h π
and the whole friend group, because this function is never alone:
arch_enter_from_user_mode(9)enter_from_user_mode(9)arch_exit_to_user_mode_work(9)arch_exit_to_user_mode_prepare(9)arch_exit_to_user_mode(9)arch_do_signal_or_restart(9)__exit_to_user_mode_prepare(9)syscall_exit_to_user_mode_prepare(9)irqentry_exit_to_user_mode_prepare(9)exit_to_user_mode(9)irqentry_enter_from_user_mode(9)irqentry_exit_to_user_mode(9)struct irqentry_state(9)irqentry_enter_from_kernel_mode(9)irqentry_exit_to_kernel_mode_preempt(9)irqentry_exit_to_kernel_mode_after_preempt(9)irqentry_exit_to_kernel_mode(9)irqentry_enter(9)irqentry_exit(9)irqentry_nmi_enter(9)irqentry_nmi_exit(9)
like, the entire irqentry cinematic universe ππ go read them, they ate π
ngl bestie, if you're touching this one you're already deep in arch + irqentry territory β so like, respect, and also please be careful π§π
and that's the page!! source lives in ./include/linux and the timestamp on this bad boy is October 2026 β go off, you're officially educated on RCU EQS now π₯πβ¨
π¦ 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