From: Andi Kleen <ak@suse.de>
To: Bryan Ford <baford@mit.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86_64 signal handling for 64-bit apps w/ mixed 32-bit code - trivial fix
Date: 06 Oct 2005 18:46:44 +0200 [thread overview]
Message-ID: <p734q7uzj7v.fsf@verdi.suse.de> (raw)
In-Reply-To: <200510051235.41376.baford@mit.edu>
Bryan Ford <baford@mit.edu> writes:
> The proposed patch doesn't affect any performance-critical paths (e.g.,
> syscall or interrupt entry/exit), and merely involves a couple more moves
> to/from user space on signal frame setup and sigreturn. It also doesn't
> affect the size or shape of the sigcontext at all, since there already was an
> (unused) slot for CS, and I've assigned the convenient __pad0 field as a slot
> for SS. The existing, unused slots for FS and GS remain unused for now, and
> I don't see any urgent need to change that. The only way this might break an
> existing app is if the app tries to cons up its own signal frame (not
> generated by the kernel) and pass it to sigreturn, but this is presumably a
> no-no anyway.
I see the point of saving/restore cs, but why ss and not es/ds ?
-Andi
next prev parent reply other threads:[~2005-10-06 16:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-05 16:35 Bryan Ford
2005-10-05 17:38 ` Mika Penttilä
2005-10-06 15:22 ` Bryan Ford
2005-10-06 16:46 ` Andi Kleen [this message]
2005-10-07 16:32 ` Bryan Ford
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=p734q7uzj7v.fsf@verdi.suse.de \
--to=ak@suse.de \
--cc=baford@mit.edu \
--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
Powered by JetHome