From: Andi Kleen <ak@muc.de>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: joe.korty@ccur.com, linux-kernel@vger.kernel.org
Subject: Re: siginfo & 32 bits compat, what is the story ?
Date: Tue, 20 Apr 2004 00:44:20 +0200 [thread overview]
Message-ID: <m3vfjvtwor.fsf@averell.firstfloor.org> (raw)
In-Reply-To: <1MP7P-UD-13@gated-at.bofh.it> (Benjamin Herrenschmidt's message of "Tue, 20 Apr 2004 00:10:09 +0200")
Benjamin Herrenschmidt <benh@kernel.crashing.org> writes:
>> I believe the x86_64 method is correct.
>>
>> It might be worth moving this compatibility code to a
>> common place where all architectures could reference it.
>
> Hrm... I just heard the opposite: that is, the x86_64 code allows
> some cruft to communicate between 32 and 64 bits, but breaks anything
> that uses more than those 3 copied fields, even between 2 32 bits
> applications.
Note that there are several kinds of x86-64 codes: the original one
and Joe's rewritten version in recent kernels. I don't know where
you heard it is broken, but maybe they were describing the older
code.
If they were refering to the recent version I assume they
would have reported it to the maintainer. But they didn't ...
Anyways - i guess it's hard to make such a decision on hearsay. I
would suggest you start with the x86-64 version and when there are
really problems you tell us about them and we fix them.
BTW there was a merged version from some PA-RISC person (with yet
another rewritten siginfo copy function) discussed, but for some
reason he dropped the ball.
-Andi
next parent reply other threads:[~2004-04-19 22:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1MBxZ-6l5-37@gated-at.bofh.it>
[not found] ` <1MLe2-5WC-25@gated-at.bofh.it>
[not found] ` <1MP7P-UD-13@gated-at.bofh.it>
2004-04-19 22:44 ` Andi Kleen [this message]
2004-04-20 0:30 ` siginfo & 32 bits compat, what is the story ? Benjamin Herrenschmidt
2004-04-19 7:35 Benjamin Herrenschmidt
2004-04-19 17:55 ` Joe Korty
2004-04-19 22:02 ` Benjamin Herrenschmidt
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=m3vfjvtwor.fsf@averell.firstfloor.org \
--to=ak@muc.de \
--cc=benh@kernel.crashing.org \
--cc=joe.korty@ccur.com \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox