All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [patch] clone_startup(), 2.5.31-A0
Date: 13 Aug 2002 12:52:11 -0700	[thread overview]
Message-ID: <ajbo1b$e2a$1@cesium.transmeta.com> (raw)
In-Reply-To: 15705.13490.713278.815154@napali.hpl.hp.com

Followup to:  <15705.13490.713278.815154@napali.hpl.hp.com>
By author:    David Mosberger <davidm@napali.hpl.hp.com>
In newsgroup: linux.dev.kernel
> 
> The original clone() system call was misdesigned.  Even if you chose
> to ignore ia64, clone() cannot be used by portable applications to
> specify a stack (think "stack-growth direction").
> 

This is something that can be handled in userspace on most
architectures.  The rest (ia64) can pass all the information on to
kernel space.

The clone() system call cannot be used by portable applications *AT
ALL*, since it inherently needs a user-space assembly wrapper.  It's
just a matter of how you define the interface to the assembly wrapper.

	-hpa
-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>

  parent reply	other threads:[~2002-08-13 19:48 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-13 15:09 [patch] clone_startup(), 2.5.31-A0 Ingo Molnar
2002-08-13 15:30 ` Linus Torvalds
2002-08-13 15:44 ` Christoph Hellwig
2002-08-13 16:01   ` Linus Torvalds
2002-08-13 16:05     ` Christoph Hellwig
2002-08-13 16:20       ` Linus Torvalds
2002-08-13 18:32         ` [patch] CLONE_SETTLS, CLONE_SETTID, 2.5.31-BK Ingo Molnar
2002-08-13 18:41           ` Linus Torvalds
2002-08-13 19:09             ` Ingo Molnar
2002-08-13 19:41               ` Linus Torvalds
2002-08-13 19:41                 ` Ingo Molnar
2002-08-13 19:35             ` Ingo Molnar
2002-08-15 22:38           ` [patch] complain about unknown CLONE_* flags Jamie Lokier
2002-08-16 10:17             ` Ingo Molnar
2001-11-02  5:55               ` Pavel Machek
2002-08-13 16:09   ` [patch] clone_startup(), 2.5.31-A0 Erik Andersen
2002-08-13 16:11     ` Christoph Hellwig
2002-08-13 16:32       ` David Mosberger
2002-08-13 16:44         ` John Levon
2002-08-13 19:52         ` H. Peter Anvin [this message]
2002-08-13 20:19           ` David Mosberger
2002-08-13 20:27             ` H. Peter Anvin
2002-08-13 20:52               ` David Mosberger
2002-08-13 20:57                 ` H. Peter Anvin
2002-08-13 16:56       ` Ruth Ivimey-Cook
2002-08-13 17:42       ` Richard B. Johnson
2002-08-13 17:19     ` Ingo Molnar
2002-08-13 20:35       ` Kai Henningsen
2002-08-15 21:24         ` Thunder from the hill
2002-08-13 17:27   ` Ingo Molnar
2002-08-14 13:48     ` Rusty Russell
2002-08-14 18:47       ` Jamie Lokier

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='ajbo1b$e2a$1@cesium.transmeta.com' \
    --to=hpa@zytor.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.