unrcu_pointer(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… unrcu_pointer β€” the "bestie, you're not RCU anymore" moment ✨

ok so picture this: it's unrcu_pointer(9) from the Kernel API Manual, and it's literally the teeny tiny function that removes the __rcu sparkle from a pointer. iconic behaviour, no cap πŸŽ€


🌸 NAME 🌸

unrcu_pointer β€” mark a pointer as not being RCU protected πŸ’–


✨ SYNOPSIS ✨

unrcu_pointer (p );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • p β€” the pointer that needs to lose its __rcu property. it's giving "graduation day" πŸŽ“βœ¨

πŸ‘‘ DESCRIPTION πŸ‘‘

so what it actually does: it converts p from an __rcu pointer into a __kernel pointer. that's it. that's the whole vibe πŸ’…

why do we care? because this is what lets an __rcu pointer be used with xchg and friends 🫢 β€” the compiler stops side-eyeing you, and you get to hang out with the rest of the atomic crew. slay.


πŸ”₯ SEE ALSO πŸ”₯

like, all of RCU's extended universe is here, bestie. the kernel file lives at ./include/linux/rcupdate.h, and these are the ✨iconic✨ neighbours:


ok that's the whole page, go forth and un-rcu your pointers πŸ˜­πŸ’œ

sign-off time: this lil beauty comes from ./include/linux, dated October 2026, and it's page unrcu_pointer(9) of the Kernel API Manual β€” mwah, bye bestie πŸ§šβ€β™€οΈπŸŒΈ

πŸ“¦ where this page comes from