ENUM DAX_WAKE_MODE(9)
β¨ enum dax_wake_mode(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's a lil baby of a page β it's literally just an enum and the whole personality is "which waiters do we wake up?" and honestly? iconic π let's go.
πΈ NAME πΈ
enum dax_wake_mode β the waitqueue wakeup behaviour situation π«
π¦ SYNOPSIS π¦
enum dax_wake_mode {
WAKE_ALL ,
WAKE_NEXT
};
that's it. that's the whole vibe. two constants, no cap π«Ά
π Constants π
okay so there's exactly two of them and they're both about who gets woken up, so listen up:
WAKE_ALLβ wakes, like, every single waiter in the waitqueue. all of them. the whole group chat gets the notification π₯WAKE_NEXTβ wakes only the first waiter in the waitqueue. just the one. main character energy, everybody else can wait their turn π
no defaults mentioned, no extra lore, that's genuinely the entire enum. don't overthink her π
π SEE ALSO π
if you wanna go deeper (and you know you do π), go peek at the kernel file ./fs/dax.c and then say hi to the whole friend group:
dax_folio_reset_order(9)dax_lock_folio(9)dax_layout_busy_page_range(9)dax_iomap_copy_around(9)dax_iomap_rw(9)dax_fault_iter(9)dax_iomap_fault(9)dax_finish_sync_fault(9)
and that's the whole page bestie π periodt β¨ this lil masterpiece lives in ./fs and it's dated October 2026, so screenshot it, cite it, love it ππ¦
π¦ 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