[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALCETrWtOcBYdqCY8OgRW8ijNweVcYEvDQ7W63A4m=P=VYdDUw@mail.gmail.com>
Date: Fri, 6 Oct 2017 16:35:12 -0700
From: Andy Lutomirski <luto@...nel.org>
To: Konstantin Khlebnikov <khlebnikov@...dex-team.ru>
Cc: "linux-mm@...ck.org" <linux-mm@...ck.org>,
Andrew Morton <akpm@...ux-foundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Andy Lutomirski <luto@...nel.org>
Subject: Re: [PATCH] vmalloc: add __alloc_vm_area() for optimizing vmap stack
On Fri, Oct 6, 2017 at 4:35 AM, Konstantin Khlebnikov
<khlebnikov@...dex-team.ru> wrote:
> This same as __vmalloc_node_range() but returns vm_struct rather than
> virtual address. This allows to kill one call of find_vm_area() for
> each task stack allocation for CONFIG_VMAP_STACK=y.
>
> And fix comment about that task holds cache of vm area: this cache used
> for retrieving actual stack pages, freeing is done by vfree_deferred().
Nice!
Powered by blists - more mailing lists