STRUCT FUTEX_MM_DATA(9)
π struct futex_mm_data(9) β the Kernel API Manual moment
okay so bestie, welcome to the Kernel API Manual β¨ today we're looking at struct futex_mm_data, and it's literally the per-MM data that futexes keep around. That's it, that's the vibe. π
πΈ NAME πΈ
struct futex_mm_data β Futex related per MM data π«Ά
β¨ SYNOPSIS β¨
Like, here's the whole shape of it, no cap:
struct futex_mm_data {
struct futex_mm_phash phash;
struct futex_unlock_cs_ranges unlock;
atomic64_t unique_id;
};
Three members, three little icons, all main character energy π
π Members π
phashβ the futex private hash related data. yes bestie, private hash, it's giving secret little bookkeeping πΈunlockβ the futex unlock VDSO critical sections. that's the unlock side of the VDSO crit-section situation, iconic π₯unique_idβ the unique ID of the MM, and it's specifically forFUT_OFF_MMSHAREDfutexes. anatomic64_ttoo, so it's fr fr out here being atomic πβ¨
π¦ SEE ALSO π¦
Kernel file ./include/linux/futex_types.h β plus these besties:
struct futex_sched_data(9)struct futex_mm_phash(9)struct futex_unlock_cs_range(9)struct futex_unlock_cs_ranges(9)
go read them, iykyk ππ
and that's the whole page, bestie π sourced from ./include/linux, dated October 2026 β mwah, slay, periodt π
ππ
π¦ 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