kho_radix_del_key(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ kho_radix_del_key(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸŽ€ β€” this one's a little page from the kho family, and it's literally about taking a key back out of a radix tree. no drama, just bits. πŸ’…


🌸 NAME 🌸

kho_radix_del_key β€” removes the key from the radix tree. that's it, that's the whole vibe πŸ¦‹


✨ SYNOPSIS ✨

void kho_radix_del_key (struct kho_radix_tree *tree , unsigned long key
);

πŸ’– ARGUMENTS πŸ’–

  • tree β€” the KHO radix tree, aka the main character of this whole operation πŸ‘‘
  • key β€” the key you wanna remove. bye bestie, slay your way out 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

so what actually happens? this function traverses the radix tree and clears the bit corresponding to the key, which effectively removes it from the tree. periodt. πŸ’€

and like β€” important detail, no cap β€” it does not free the tree's intermediate nodes, even if they become empty. so yeah, the bits get cleared but the scaffolding stays. don't come for it, that's just how it is πŸ™ˆ

real talk: no nodes get freed here. empty intermediate nodes? they're staying. so don't assume this function does any cleanup beyond the bit-flip ✨

🌈 SEE ALSO 🌈

the kernel file that lives with all this:

  • ./kernel/liveupdate/kexec_handover.c

and the whole squad of friends πŸ’œ:


and that's the page! πŸ’… mwah. this was Kernel API Manual, straight out of ./kernel/liveupdate, dated October 2026 β€” tysm for reading, ily, go clear some bits responsibly πŸ“πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from