From: Paul E Murphy <murphyp@linux.ibm.com>
To: Adhemerval Zanella <adhemerval.zanella@linaro.org>,
libc-alpha@sourceware.org
Subject: Re: [PATCH 1/5] powerpc64: Add the clone3 wrapper
Date: Fri, 3 Feb 2023 15:13:51 -0600 [thread overview]
Message-ID: <4e9b536a-3b26-d30c-ee4c-d75f4d613e29@linux.ibm.com> (raw)
In-Reply-To: <20230203171237.1220878-2-adhemerval.zanella@linaro.org>
On 2/3/23 11:12 AM, Adhemerval Zanella via Libc-alpha wrote:
> It follows the internal signature:
>
> extern int clone3 (struct clone_args *__cl_args, size_t __size,
> int (*__func) (void *__arg), void *__arg);
>
> The powerpc64 ABI requires an initial stackframe so the child can
> store/restore the TOC. It is create prior calling clone3 by
> adjusting the stack size (since kernel will compute the stack as
> stack plus size).
>
> Checked on powerpc64-linux-gnu (power8, kernel 6.0) and
> powerpc64le-linux-gnu (power9, kernel 4.18).
Thanks. LGTM.
Reviewed-by: Paul E. Murphy <murphyp@linux.ibm.com>
next prev parent reply other threads:[~2023-02-03 21:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-03 17:12 [PATCH 0/5] Add clone3 support for multiple architectures Adhemerval Zanella
2023-02-03 17:12 ` [PATCH 1/5] powerpc64: Add the clone3 wrapper Adhemerval Zanella
2023-02-03 21:13 ` Paul E Murphy [this message]
2023-02-03 17:12 ` [PATCH 2/5] s390x: " Adhemerval Zanella
2023-05-25 17:36 ` Adhemerval Zanella Netto
2023-02-03 17:12 ` [PATCH 3/5] riscv: " Adhemerval Zanella
2023-05-25 17:36 ` Adhemerval Zanella Netto
2023-05-29 14:04 ` Palmer Dabbelt
2023-05-29 20:38 ` Adhemerval Zanella Netto
2023-02-03 17:12 ` [PATCH 4/5] arm: " Adhemerval Zanella
2023-05-25 17:36 ` Adhemerval Zanella Netto
2023-02-03 17:12 ` [PATCH 5/5] mips: " Adhemerval Zanella
2023-05-25 17:36 ` Adhemerval Zanella Netto
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=4e9b536a-3b26-d30c-ee4c-d75f4d613e29@linux.ibm.com \
--to=murphyp@linux.ibm.com \
--cc=adhemerval.zanella@linaro.org \
--cc=libc-alpha@sourceware.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).