mte_dead_walk(9)
omg hi bestie π welcome to mte_dead_walk(9) from the Kernel API Manual β this is the little walker that goes down a dead tree and stops just before the leaves, and yes it's giving very specific lore π
π³π
π NAME π
mte_dead_walk β walk down a dead tree to just before the leaves. That's it, that's the function, and it ate. π³πβ¨
β¨ SYNOPSIS β¨
void __rcu ** mte_dead_walk (struct maple_enode **enode , unsigned char offset );
π§ ARGUMENTS π§
enodeβ the maple encoded node πoffsetβ the starting offset π―
β οΈ NOTE β οΈ
This can only be used from the RCU callback context. Like, ONLY there, bestie. RCU callback context or bust β do not test me on this, fr fr. ππ
π SEE ALSO π
If you're doing a deep dive (iykyk), here's the whole friend group from the kernel file ./lib/maple_tree.c and all the (9) besties:
Kernel file ./lib/maple_tree.cmas_prealloc_calc(9)mas_wr_preallocate(9)mas_insert(9)mas_alloc_cyclic(9)mas_walk(9)mt_free_walk(9)mas_store(9)mas_store_gfp(9)mas_store_prealloc(9)mas_preallocate(9)mas_next(9)mas_next_range(9)mt_next(9)mas_prev(9)mas_prev_range(9)mt_prev(9)mas_pause(9)mas_find_setup(9)mas_find(9)mas_find_range(9)mas_find_rev_setup(9)mas_find_rev(9)mas_find_range_rev(9)mas_erase(9)mas_nomem(9)mas_nomem_nofail(9)mtree_load(9)mtree_store_range(9)mtree_store(9)mtree_insert_range(9)mtree_insert(9)mtree_alloc_cyclic(9)mtree_erase(9)__mt_dup(9)mtree_dup(9)__mt_destroy(9)mtree_destroy(9)mt_find(9)mt_find_after(9)
okay that's the whole page, bestie π«Άπ β source ./lib, dated October 2026, page mte_dead_walk(9). byeee β¨π
π¦ 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