mt_set_in_rcu(9)
π mt_set_in_rcu(9) β from the Kernel API Manual β¨
Okay so bestie, welcome to the glow-up era of the Maple Tree π³π This page lives in the Kernel API Manual (section 9, iykyk) and it's about one tiny little function that flips your tree into RCU safe mode. That's it. That's the whole vibe. Let's get into it π«Ά
β¨ NAME β¨
mt_set_in_rcu β Switch the tree to RCU safe mode. Periodt. That's literally the whole job π
πΈ SYNOPSIS πΈ
void mt_set_in_rcu (struct maple_tree *mt );
Not me obsessing over how short this is π no return value, no drama, just vibes and a void.
π¦ ARGUMENTS π¦
mtβ The Maple Tree π³ Like, your actual tree. The one you want switched over to RCU safe mode. Hand it over and it gets the treatment β¨
π SEE ALSO π
The whole friend group, fr fr β go say hi to all of them π
- Kernel file
./include/linux/maple_tree.h Maple tree flags(9)MTREE_INIT(9)MTREE_INIT_EXT(9)mtree_empty(9)mas_reset(9)mas_for_each(9)mas_for_each_rev(9)__mas_set_range(9)mas_set_range(9)mas_set(9)mt_init_flags(9)mt_init(9)mt_clear_in_rcu(9)mt_for_each(9)
Lowkey the mt_clear_in_rcu(9) girlies are the reverse of this one β but don't quote me on the details, just go read the page π
That's the whole page, bestie β short and iconic, main character energy only πβ
Sign-off szn π: this lil masterpiece comes from ./include/linux, dated October 2026, and it's filed under mt_set_in_rcu(9) in case you need to find it again. 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