non_block_start(9)
π non_block_start(9) π
okay so welcome to the Kernel API Manual, bestie β this little icon is all about marking the start of a zone where sleeping is a hard no. π΄π«
β¨ NAME β¨
non_block_startβ annotate the start of section where sleeping is prohibited. π
π SYNOPSIS π
non_block_start
π¦ DESCRIPTION π¦
This one is on behalf of the oom reaper, specifically when it is calling the mmu notifiers. π«Ά
The problem is that if the notifier were to block on, for example, mutex_lock, and if the process which holds that mutex were to perform a sleeping memory allocation, the oom reaper is now blocked on completion of that memory allocation. π Other blocking calls like wait_event pose similar issues. fr fr.
So yeah β this is your βheads up, no sleeping in this sectionβ annotation, and itβs giving very much main character energy for the no-block zone. β¨
π SEE ALSO π
- Kernel file
./include/linux/kernel.h might_sleep(9)cant_sleep(9)cant_migrate(9)non_block_end(9)enum system_states(9)
sending u off with love from ./include/linux, dated October 2026 π
π«Άβ¨ no cap, thatβs the whole page. ππ
π¦ 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