Re: First cut of PowerPC support in NPTL

Ian Wienand <[email protected]>
Newsgroups gmane.comp.lib.phil
Message-ID <[email protected]>
On Sat, Mar 08, 2003 at 04:01:04AM -0500, Jakub Jelinek wrote:
> --- libc/nptl/allocatestack.c.jj	2003-03-05 14:43:34.000000000 -0500
> +++ libc/nptl/allocatestack.c	2003-03-07 18:35:07.000000000 -0500

> +#ifdef NEED_SEPARATE_REGISTER_STACK
> +	  char *guard = mem + (((size - guardsize) / 2) & ~pagesize_m1);
> +#else
> +	  char *guard = mem;
> +#endif

just out of curiosity, is this split between the register stack and
the user stack arbitrary or are there reasons why it's strictly down
the middle?

seeing as ia64 shares the stack, should the MINIMAL_REST_STACK for
ia64 be maybe double the size (or even bigger)?

-i
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.