Constant kernel::alloc::flags::GFP_ATOMIC

source ·
pub const GFP_ATOMIC: Flags;
Expand description

Users can not sleep and need the allocation to succeed.

A lower watermark is applied to allow access to “atomic reserves”. The current implementation doesn’t support NMI and few other strict non-preemptive contexts (e.g. raw_spin_lock). The same applies to GFP_NOWAIT.