Re: [PATCH v2] mm: Move kvmalloc-related functions to slab.h

From: Pekka Enberg
Date: Wed Jun 23 2021 - 02:53:21 EST


On Wed, Jun 23, 2021 at 12:58 AM Matthew Wilcox (Oracle)
<willy@xxxxxxxxxxxxx> wrote:
> Not all files in the kernel should include mm.h. Migrating callers from
> kmalloc to kvmalloc is easier if the kvmalloc functions are in slab.h.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>

Acked-by: Pekka Enberg <penberg@xxxxxxxxxx>