Re: [PATCH v2 4/4] mm: allow !GFP_KERNEL allocations for kvmalloc

From: Vlastimil Babka
Date: Fri Nov 26 2021 - 10:52:24 EST


On 11/22/21 16:32, Michal Hocko wrote:
> From: Michal Hocko <mhocko@xxxxxxxx>
>
> A support for GFP_NO{FS,IO} and __GFP_NOFAIL has been implemented
> by previous patches so we can allow the support for kvmalloc. This
> will allow some external users to simplify or completely remove
> their helpers.
>
> GFP_NOWAIT semantic hasn't been supported so far but it hasn't been
> explicitly documented so let's add a note about that.
>
> ceph_kvmalloc is the first helper to be dropped and changed to
> kvmalloc.
>
> Signed-off-by: Michal Hocko <mhocko@xxxxxxxx>

Acked-by: Vlastimil Babka <vbabka@xxxxxxx>