linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Ingo Molnar <mingo@elte.hu>,
	Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Manfred Spraul <manfred@colorfullife.com>
Subject: Re: out-of-line x86 "put_user()" implementation
Date: Tue, 8 Feb 2005 18:36:37 -0800	[thread overview]
Message-ID: <20050209023637.GB13911@twiddle.net> (raw)
In-Reply-To: <Pine.LNX.4.58.0502081808410.2165@ppc970.osdl.org>

On Tue, Feb 08, 2005 at 06:16:15PM -0800, Linus Torvalds wrote:
> I'd happily use your version, but I thought that some versions of gcc
> require that input output registers cannot overlap, and would refuse to do 
> that thing? But if you tell me differently..

No, you're thinking of

	asm("" : "=a" (x) : : "eax")

where the clobber overlaps the inputs or outputs.


r~

  parent reply	other threads:[~2005-02-09  2:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-07  6:23 out-of-line x86 "put_user()" implementation Linus Torvalds
2005-02-07 11:44 ` Ingo Molnar
2005-02-08  1:20   ` Linus Torvalds
2005-02-08 17:43     ` Pavel Machek
2005-02-08 19:35     ` Valdis.Kletnieks
2005-02-09  1:25     ` Richard Henderson
2005-02-09  2:08       ` Linus Torvalds
2005-02-09  2:24         ` Andrew Morton
2005-02-09  2:32           ` Linus Torvalds
2005-02-09  1:27     ` Richard Henderson
2005-02-09  2:16       ` Linus Torvalds
2005-02-09  2:27         ` Linus Torvalds
2005-02-09  2:33           ` Richard Henderson
2005-02-11 22:15             ` H. Peter Anvin
2005-02-09  2:36         ` Richard Henderson [this message]
2005-03-12 14:55 ` Coywolf Qi Hunt
2005-02-12  1:55 Chuck Ebbert
2005-02-12  2:03 ` Linus Torvalds

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=20050209023637.GB13911@twiddle.net \
    --to=rth@twiddle.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manfred@colorfullife.com \
    --cc=mingo@elte.hu \
    --cc=torvalds@osdl.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 NNTP newsgroup(s).