rcu_read_unlock(9)
hey bestie, welcome to rcu_read_unlock(9) from the Kernel API Manual π
β¨ this one is short but it matters, okay?
π NAME π
this is the function that marks the end of an RCU read-side critical section. literally the βok weβre done hereβ of RCU read-side critical sections π«Ά
β¨ SYNOPSIS β¨
the signature is giving:
void rcu_read_unlock (void );
π ARGUMENTS π
voidβ no arguments. not a single one, bestie π
πΈ DESCRIPTION πΈ
okay so in almost all situations, rcu_read_unlock is immune from deadlock β yes, deadlock immunity, like itβs just not catching that vibe. that deadlock immunity also extends to the scheduler's runqueue and priority-inheritance spinlocks, courtesy of the quiescent-state deferral that is carried out when rcu_read_unlock is invoked with interrupts disabled. iykyk, thatβs the little detail doing the work π§β¨
for more information, see rcu_read_lock β the matching bestie π«Ά
π¦ SEE ALSO π¦
the kernel file is ./include/linux/rcupdate.h, and here's the whole SEE ALSO squad, no cap:
same_state_synchronize_rcu(9)cond_resched_tasks_rcu_qs(9)rcu_softirq_qs_periodic(9)RCU_LOCKDEP_WARN(9)lockdep_assert_in_rcu_read_lock(9)lockdep_assert_in_rcu_read_lock_bh(9)lockdep_assert_in_rcu_read_lock_sched(9)lockdep_assert_in_rcu_reader(9)unrcu_pointer(9)RCU_INITIALIZER(9)rcu_assign_pointer(9)rcu_replace_pointer(9)rcu_access_pointer(9)rcu_dereference_check(9)rcu_dereference_bh_check(9)rcu_dereference_sched_check(9)rcu_dereference_all_check(9)rcu_dereference_protected(9)rcu_dereference(9)rcu_dereference_bh(9)rcu_dereference_sched(9)rcu_dereference_all(9)rcu_pointer_handoff(9)rcu_read_lock(9)rcu_read_lock_bh(9)rcu_read_unlock_bh(9)rcu_read_lock_sched(9)rcu_read_unlock_sched(9)RCU_INIT_POINTER(9)RCU_POINTER_INITIALIZER(9)kfree_rcu(9)kfree_rcu_mightsleep(9)kfree_rcu_nolock(9)rcu_head_init(9)rcu_head_after_call_rcu(9)
and thatβs the page! π source/version ./include/linux, date October 2026, and the footer is giving rcu_read_unlock(9) β mwah π
π¦ 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