From: Jeremy Fitzhardinge <jeremy@goop.org>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Roland McGrath <roland@redhat.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Various x86 syscall mechanisms
Date: Fri, 20 Jun 2008 19:00:33 -0700 [thread overview]
Message-ID: <485C60C1.2050200@goop.org> (raw)
In-Reply-To: <485C4B0E.2090704@zytor.com>
H. Peter Anvin wrote:
> The reason is that not all 64-bit processors (i.e. K8) support a
> 32-bit sysenter in long mode (i.e. with a 64-bit kernel.)
OK, so compat 32-bit processes would use syscall in that case, even if
they wouldn't on a 32-bit kernel?
> sysenter is *always* entered from the vdso, since the return address
> is lost and this is also where a 64-bit kernel can put a syscall.
>
> There is no reason we couldn't do syscall for 32-bit native, but the
> only processor that would benefit would be K7, and that's far enough
> in the past that I don't think anyone cares enough.
OK, good.
> Note that long mode syscall is different from protected mode syscall,
> even in 32-bit compatibility mode. The long mode variant is a lot saner.
You mean that syscall arriving in long mode ring0 is saner than syscall
arriving in protected mode ring0?
J
next prev parent reply other threads:[~2008-06-21 2:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-20 22:00 Various x86 syscall mechanisms Jeremy Fitzhardinge
2008-06-20 23:39 ` Roland McGrath
2008-06-27 21:45 ` Jeremy Fitzhardinge
2008-06-27 21:52 ` Roland McGrath
2008-06-28 5:00 ` Andi Kleen
2008-06-30 0:07 ` Bill Davidsen
2008-06-21 0:27 ` H. Peter Anvin
2008-06-21 2:00 ` Jeremy Fitzhardinge [this message]
2008-06-21 14:02 ` Andi Kleen
2008-06-21 16:51 ` H. Peter Anvin
2008-07-01 12:06 ` Jan Engelhardt
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=485C60C1.2050200@goop.org \
--to=jeremy@goop.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=roland@redhat.com \
/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