LWN.net Logo

Re: [PATCH v2] Add preadv and pwritev system calls.

From:  Gerd Hoffmann <kraxel-AT-redhat.com>
To:  Matthew Wilcox <matthew-AT-wil.cx>
Subject:  Re: [PATCH v2] Add preadv and pwritev system calls.
Date:  Fri, 12 Dec 2008 17:02:05 +0100
Message-ID:  <49428AFD.5090009@redhat.com>
Cc:  linux-kernel-AT-vger.kernel.org, linux-arch-AT-vger.kernel.org, Ulrich Drepper <drepper-AT-redhat.com>
Archive-link:  Article, Thread

Matthew Wilcox wrote:
> On the other hand, NetBSD have approximately 0% market share.
> We shouldn't let them lock us into making a bad decision.  Is there
> anyone other than NetBSD who has added these syscalls?

Free- and OpenBSD have it too.  For Solaris I've found a feature request
only.  Dunno about MacOS/Darwin.  Other un*xes which are important these
days?

I'd *really* hate it to have the same system call with different
argument ordering on different systems though.  Especially when swapping
two integer values, so gcc wouldn't error out on wrong usage.

cheers,
  Gerd


(Log in to post comments)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds