public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Matti Aarnio <matti.aarnio@zmailer.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: klibc development release
Date: Fri, 09 Aug 2002 15:37:06 -0700	[thread overview]
Message-ID: <3D544412.5020307@zytor.com> (raw)
In-Reply-To: 20020809222736.GJ32427@mea-ext.zmailer.org

Matti Aarnio wrote:
> 
>   History...   Initially I thought you are describing something
>   different from Linux model (after all, different platforms have
>   different ABIs for syscalls, leading to different call-vector
>   tables, etc.)  but no, I see no difference from this description.
> 
>   How NetBSD handles the issue, I don't know.   One interpretation
>   of what you say is that when a new architecture is added to NetBSD,
>   it will instantly inherit the entire historical set of syscalls,
>   including the obsolete ones.
> 

What NetBSD does is that they treat the system call mechanism as a
special kind of function call... like an RPC stub kind of thing.  Just
like it's not visible to the C programmer how a particular architecture
is implementing a function call, on NetBSD all one really needs to know
is the system call number (which is architecture independent!) and its
prototype, and you can generate both user-side and kernel-side stubs for
this system call, ending up with it calling a function in the generic
kernel code (sys_mmap(), or whatever.)

It seems to me that the big losers of the Linux model are the smaller
architectures, since most people aren't going to be able to know when
they're breaking something on, for example, alpha, cris or s390, and
they're certainly not going to know how to add something to them.

	-hpa


  reply	other threads:[~2002-08-09 22:33 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-09  3:39 klibc development release H. Peter Anvin
2002-08-09 10:14 ` Andreas Schwab
2002-08-09 18:22   ` H. Peter Anvin
2002-08-09 11:33 ` Arnd Bergmann
2002-08-09 19:53   ` Arnd Bergmann
2002-08-09 18:55     ` H. Peter Anvin
2002-08-09 19:04       ` David Mosberger
2002-08-09 19:14         ` H. Peter Anvin
2002-08-09 22:27           ` Matti Aarnio
2002-08-09 22:37             ` H. Peter Anvin [this message]
2002-08-10  6:22             ` Erik Andersen
2002-08-10  6:24               ` H. Peter Anvin
2002-08-10 10:40             ` Christoph Hellwig
2002-08-10 10:48               ` H. Peter Anvin
2002-08-10 10:51                 ` Christoph Hellwig
2002-08-10 10:52                   ` H. Peter Anvin
2002-08-10  6:21           ` Erik Andersen
2002-08-09 19:55         ` H. Peter Anvin
2002-08-09 20:22           ` David Mosberger
2002-08-09 20:29             ` H. Peter Anvin
2002-08-09 20:16 ` Albert D. Cahalan
2002-08-09 20:22   ` H. Peter Anvin
2002-08-11  5:02     ` Rob Landley
2002-08-11 13:13       ` Alexander Viro
2002-08-12  2:29         ` Oliver Xymoron
2002-08-12  4:39           ` Alexander Viro
2002-08-09 22:03 ` Oliver Xymoron
2002-08-11  5:11   ` Rob Landley
2002-08-11 15:56     ` Oliver Xymoron
2002-08-11 18:20       ` Albert D. Cahalan
2002-08-11 15:31         ` Rob Landley
2002-08-11 21:04           ` Erik Andersen
2002-08-11 22:18             ` H. Peter Anvin
2002-08-12  3:17           ` 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=3D544412.5020307@zytor.com \
    --to=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matti.aarnio@zmailer.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