kho_radix_del_key(9)
β¨ 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 π:
kho_encode_radix_key(9)kho_decode_radix_key(9)kho_radix_add_key(9)kho_radix_init_tree(9)kho_radix_destroy_tree(9)kho_radix_walk_tree(9)kho_restore_folio(9)kho_restore_pages(9)kho_reserve_scratch(9)kho_add_subtree(9)kho_preserve_folio(9)kho_unpreserve_folio(9)kho_preserve_pages(9)kho_unpreserve_pages(9)kho_preserve_vmalloc(9)kho_unpreserve_vmalloc(9)kho_restore_vmalloc(9)kho_alloc_preserve(9)kho_unpreserve_free(9)kho_restore_free(9)is_kho_boot(9)kho_retrieve_subtree(9)
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
- 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