From: David Mosberger <davidm@napali.hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: clone testcases in LTP
Date: Fri, 11 Jul 2003 00:44:00 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105788431717061@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105778639326638@msgid-missing>
>>>>> On Fri, 11 Jul 2003 10:35:12 +1000, Ian Wienand <ianw@gelato.unsw.edu.au> said:
Ian> And that you pass the bottom of the stack, not the top?
Yes.
Ian> Also, are there explicit alignment requirements?
Not from the kernel per se.
Ian> I thought it needed to be aligned to page size (or maybe it was
Ian> 16 bytes).
It the memory stack pointer has to be 16-byte aligned and the
register-backing store pointer has to be 8-byte aligned, as per
architecture/software conventions.
Ian> And should the stack size be at a minimum ~8K, to allow enough
Ian> room for register stack?
The kernel doesn't care about the stack size. If you can live with 4KB,
fine.
Ian> I have noticed a problem from the LTP tests. Either I'm doing
Ian> something wrong (likely related to my assumptions above) or there is
Ian> something wrong.
It's entirely possible something is wrong (that's almost always
true).
Ian> See clone2.c below.
Time to clarify my role (once again): I'm currently playing maintainer
of the ia64 linux tree. That doesn't mean I fix or investigate all
bugs that come along. If something is broken or not working as
expected then someone who cares should investigate.
It should be trivial for anyone who cares to reproduce this with the
Ski simulator. This is exactly the type of questions that can be
solved very easily with a simulator.
--david
next prev parent reply other threads:[~2003-07-11 0:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-09 21:32 clone testcases in LTP Nathan Straz
2003-07-09 22:17 ` David Mosberger
2003-07-10 16:18 ` Nathan Straz
2003-07-10 16:25 ` David Mosberger
2003-07-10 23:22 ` Peter Chubb
2003-07-10 23:31 ` David Mosberger
2003-07-11 0:04 ` Peter Chubb
2003-07-11 0:35 ` Ian Wienand
2003-07-11 0:44 ` David Mosberger [this message]
2003-07-11 9:57 ` Andreas Schwab
2003-07-11 14:15 ` Nathan Straz
2003-07-11 18:49 ` Andreas Schwab
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=marc-linux-ia64-105788431717061@msgid-missing \
--to=davidm@napali.hpl.hp.com \
--cc=linux-ia64@vger.kernel.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.