Re: [RFC] [PATCH 0/5 V2] Huge page backed user-space stacks

Eric B Munson
2008-07-28T21:24:00Z

[-- Attachment #1: Type: text/plain, Size: 684 bytes --]

On Mon, 28 Jul 2008, Dave Hansen wrote:

> On Mon, 2008-07-28 at 12:17 -0700, Eric Munson wrote:
> >
> > This patch stack introduces a personality flag that indicates the
> > kernel
> > should setup the stack as a hugetlbfs-backed region. A userspace
> > utility
> > may set this flag then exec a process whose stack is to be backed by
> > hugetlb pages.
>
> I didn't see it mentioned here, but these stacks are fixed-size, right?
> They can't actually grow and are fixed in size at exec() time, right?
>
> -- Dave

The stack VMA is a fixed size but the pages will be faulted in as needed.

--
Eric B Munson
IBM Linux Technology Center
ebmunson@us.ibm.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]