Re: [PATCH] rust: alloc: add GFP_NOIO flag

From: Danilo Krummrich

Date: Wed Jan 28 2026 - 14:27:14 EST


On Wed Jan 28, 2026 at 7:37 PM CET, Andreas Hindborg wrote:
> + /// [`GFP_NOIO`] will use direct reclaim to discard clean pages or slab
> + /// pages that do not require the starting of any physical IO.
> + pub const GFP_NOIO: Flags = Flags(bindings::GFP_NOIO);

How do you use this? What about abstractions for memalloc_noio_{save,restore}()
instead?