rcu_replace_pointer_rtnl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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