kho_radix_destroy_tree(9)
π kho_radix_destroy_tree(9) π
okay bestie, so this is a page from the Kernel API Manual and it's all about one tiny little function that does one big dramatic thing: it destroys a radix tree. that's it. that's the whole vibe. no cap. π¦
β¨ NAME β¨
kho_radix_destroy_tree β Destroy the radix tree π
π SYNOPSIS π
void kho_radix_destroy_tree (struct kho_radix_tree *tree );
literally that's the whole signature. returns void, takes one pointer, zero drama (well, some drama, see below π).
πΈ ARGUMENTS πΈ
treeβ the radix tree you're about to destroy π«Ά like... the actualstruct kho_radix_tree *that's getting yeeted.
β DESCRIPTION β
so what it does is: it walks the tree and frees all its nodes. every single node. gone. that's the whole function, and honestly? iconic. she does one thing and she does it well. π
no cap, that's genuinely the entire description β walk tree, free all its nodes. periodt. π
π SEE ALSO π
bestie here's the friend group, the whole squad, the group chat of related functions and files π§
- Kernel file
./kernel/liveupdate/kexec_handover.c kho_encode_radix_key(9)kho_decode_radix_key(9)kho_radix_add_key(9)kho_radix_del_key(9)kho_radix_init_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)
ok and for the sign-off π«Ά this one lives under the source/version ./kernel/liveupdate and it's dated October 2026, so yeah, that's the whole page. go free those nodes, bestie. mwah. πβ¨π
π¦ 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