From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Subject: Re: [PATCH v2] Add preadv and pwritev system calls. Date: Fri, 12 Dec 2008 10:03:47 -0700 Message-ID: <20081212170347.GR26095@parisc-linux.org> References: <1229090440-32120-1-git-send-email-kraxel@redhat.com> <20081212152929.GM26095@parisc-linux.org> <494287D4.2070909@redhat.com> <20081212155113.GO26095@parisc-linux.org> <49428AFD.5090009@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <49428AFD.5090009@redhat.com> Sender: linux-kernel-owner@vger.kernel.org To: Gerd Hoffmann Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Ulrich Drepper List-Id: linux-arch.vger.kernel.org On Fri, Dec 12, 2008 at 05:02:05PM +0100, Gerd Hoffmann wrote: > 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. We can always permute it further: int fd, int vlen, loff_t pos, const struct * -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from palinux.external.hp.com ([192.25.206.14]:50476 "EHLO mail.parisc-linux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757646AbYLLRDs (ORCPT ); Fri, 12 Dec 2008 12:03:48 -0500 Date: Fri, 12 Dec 2008 10:03:47 -0700 From: Matthew Wilcox Subject: Re: [PATCH v2] Add preadv and pwritev system calls. Message-ID: <20081212170347.GR26095@parisc-linux.org> References: <1229090440-32120-1-git-send-email-kraxel@redhat.com> <20081212152929.GM26095@parisc-linux.org> <494287D4.2070909@redhat.com> <20081212155113.GO26095@parisc-linux.org> <49428AFD.5090009@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49428AFD.5090009@redhat.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Gerd Hoffmann Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Ulrich Drepper Message-ID: <20081212170347.XIDRqJ5MKc36KxbQDAOao_Lq9b8Kun-fNoe0OTmoYMg@z> On Fri, Dec 12, 2008 at 05:02:05PM +0100, Gerd Hoffmann wrote: > 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. We can always permute it further: int fd, int vlen, loff_t pos, const struct * -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step."