non_block_start(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 🌈


sending u off with love from ./include/linux, dated October 2026 πŸ’…πŸ«Άβœ¨ no cap, that’s the whole page. πŸŽ€πŸ’–

πŸ“¦ where this page comes from