rcu_replace_pointer_rtnl(9)
π rcu_replace_pointer_rtnl(9) π
okay so welcome to the Kernel API Manual page for this absolute icon. bestie, we're doing pointer replacement under rtnl_lock, and yes it's giving kernel-core. π
β¨ NAME β¨
rcu_replace_pointer_rtnl β replace an RCU pointer under rtnl_lock, returning its old value π«Ά
πΈ SYNOPSIS πΈ
rcu_replace_pointer_rtnl (rp , p );
π¦ ARGUMENTS π¦
rpβ the RCU pointer, whose value is returned πpβ a regular pointer π
π DESCRIPTION π
okay so this function performs a replacement under rtnl_lock, where rp is an RCU-annotated pointer. the old value of rp is returned, and rp is set to p. literally that's the whole vibe. π«
π₯ SEE ALSO π₯
Kernel file ./include/linux/rtnetlink.h plus these absolute legends:
mwah π this page is from the Kernel API Manual, source/version ./include/linux, October 2026 edition, and it's literally called rcu_replace_pointer_rtnl(9). bye bestie π«Άβ¨
π¦ 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