mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Ulrich Drepper <drepper@redhat.com>
Cc: Linus Torvalds <torvalds@transmeta.com>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	Andi Kleen <ak@suse.de>
Subject: Re: Hammer thread fixes
Date: Sat, 15 Mar 2003 22:24:38 +0100	[thread overview]
Message-ID: <20030315212438.GA8113@wotan.suse.de> (raw)
In-Reply-To: <3E739514.8010300@redhat.com>

On Sat, Mar 15, 2003 at 01:03:16PM -0800, Ulrich Drepper wrote:
> The appended two fixes are necessary to get NPTL threads running on
> hammer.  The changes should be obvious.  The exit_group syscall isn't
> present at all so far and the r10 -> r8 register use is necessary
> because syscall parameter #4 (in r10) is already used for the child_tid
> parameter.

It's incorrect like I told you last time. arg 4 is in r10. Linus please don't
apply.

The clone prototype is 

	int clone(int flags, unsigned long newsp, void *parent_tid, void *child_tid) ;

	rax: __NR_clone
	rdi: flags
	rsi: newsp 
	rdx: parent_tid
	r10: child_tid

See appendix A of the x86-64 ABI for details.	 The kernel ABI 
is different from the user space ABI because of the SYSCALL clobbers.

For exit_group please wait for my next merge.

-Andi

  reply	other threads:[~2003-03-15 21:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-15 21:03 Ulrich Drepper
2003-03-15 21:24 ` Andi Kleen [this message]
2003-03-15 22:25   ` Ulrich Drepper

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=20030315212438.GA8113@wotan.suse.de \
    --to=ak@suse.de \
    --cc=drepper@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.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

all inboxes | Powered by JetHome®