batadv_orig_node_release(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_orig_node_release(9) β€” the Kernel API Manual moment

okay so bestie, welcome to the batadv_orig_node_release page from the Kernel API Manual πŸŽ€ this one's short and sweet and honestly iconic in its simplicity β€” it's the little cleanup bestie that takes an orig_node off the lists and then queues it up to be freed after the RCU grace period ✨ no cap.


🌸 NAME 🌸

batadv_orig_node_release β€” release orig_node from lists and queue for free after rcu grace period πŸ¦‹

like literally, it unhooks the thing from the lists and then hands it off to the RCU cleanup era, patiently waiting out the grace period before the actual free happens. main character behaviour: it does not rush. πŸ’…


✨ SYNOPSIS ✨

void batadv_orig_node_release (struct kref *ref );

returns void, takes one struct kref * β€” that's it, that's the whole mood 🫢


🧚 ARGUMENTS 🧚

  • ref β€” the kref pointer of the orig_node 🌈 like, the reference-count handle for the orig node you're releasing. that's the one (1) thing it wants from you.

πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, gathered here for you πŸ’– and the kernel file where the magic lives: ./net/batman-adv/originator.c


so yeah, bestie β€” this is the release path, meaning the memory isn't yeeted instantly. it sits in RCU timeout land first. that's on purpose, don't fight it 😭

starring ./net/batman-adv πŸ¦‹ dated October 2026, and that's the whole batadv_orig_node_release(9) page β€” ily, go read your kernel source, periodt πŸ’œπŸ”₯

πŸ“¦ where this page comes from