From: James Bottomley <James.Bottomley@steeleye.com>
To: "Carlos O'Donell" <carlos@baldric.uwo.ca>
Cc: PARISC list <parisc-linux@lists.parisc-linux.org>,
John David Anglin <dave.anglin@nrc-cnrc.gc.ca>,
Randolph Chung <tausq@debian.org>
Subject: Re: [parisc-linux] pthread attributes and stack positions (gcc related?)
Date: 28 Sep 2003 12:53:38 -0500 [thread overview]
Message-ID: <1064771620.10778.5.camel@mulgrave> (raw)
In-Reply-To: <20030928174226.GA3040@systemhalted>
On Sun, 2003-09-28 at 12:42, Carlos O'Donell wrote:
> The variable is definately on the process stack. The thread's stack
> address seems to be inside the libraries 'writable' space and the stack
> size is wrong (or uninitialized). Perhaps I should just be looking for
> arch-dependant init code that we might be missing.
This, I believe to be correct: there's only one real stack (i.e. the
thing on x86 that grows down from top of memory) and only one thread can
have it. The rest of the thread stacks are mmapped at fixed sizes with
a guard area to prevent them growing too far. mmapped memory comes out
of the same pool that shared library memory comes from, so you should
correctly see the mappings interleave (depending on the load and thread
start order).
James
next prev parent reply other threads:[~2003-09-28 17:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-28 17:42 [parisc-linux] pthread attributes and stack positions (gcc related?) Carlos O'Donell
2003-09-28 17:53 ` James Bottomley [this message]
2003-09-29 15:10 ` Carlos O'Donell
2003-09-29 19:02 ` Carlos O'Donell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1064771620.10778.5.camel@mulgrave \
--to=james.bottomley@steeleye.com \
--cc=carlos@baldric.uwo.ca \
--cc=dave.anglin@nrc-cnrc.gc.ca \
--cc=parisc-linux@lists.parisc-linux.org \
--cc=tausq@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.