Re: [PATCHv3 1/3] mm: Introduce vma_init()

From: Linus Torvalds
Date: Tue Jul 24 2018 - 16:16:47 EST


On Tue, Jul 24, 2018 at 1:03 PM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
>
> I'd sleep better if this became a kmem_cache_alloc() and the memset
> was moved into vma_init().

Yeah, with the vma_init(), I guess the advantage of using
kmem_cache_zalloc() is pretty dubious.

Make it so.

Linus