This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Split Stacks proposal
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Mathieu Lacage <mathieu dot lacage at sophia dot inria dot fr>
- Cc: Ian Lance Taylor <iant at google dot com>, gcc at gcc dot gnu dot org
- Date: Fri, 27 Feb 2009 12:11:09 +0000
- Subject: Re: Split Stacks proposal
- References: <m3d4d497lk.fsf@google.com> <1235722210.15361.40.camel@diese.inria.fr>
Mathieu Lacage wrote:
> It would be totally awesome to do this if you could provide an option to
> delegate to a user-provided function the allocation and deallocation of
> the stack blobs needed by threads.
> Ideally, I would even be able to use heap memory for that stack space if
> I wanted to.
I believe that's at least _implicit_ in the description of the project
already! Once the stack can be discontiguous, all of a sudden there's nothing
special about the memory area that the OS allocated to be your thread's stack
any more.
cheers,
DaveK