From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753759Ab1IEUBO (ORCPT ); Mon, 5 Sep 2011 16:01:14 -0400 Received: from terminus.zytor.com ([198.137.202.10]:43447 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753493Ab1IEUBG (ORCPT ); Mon, 5 Sep 2011 16:01:06 -0400 Message-ID: <4E652A36.1070101@zytor.com> Date: Mon, 05 Sep 2011 12:59:50 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 MIME-Version: 1.0 To: "H.J. Lu" CC: Arnd Bergmann , Valdis.Kletnieks@vt.edu, Linus Torvalds , Christoph Hellwig , LKML , Ingo Molnar , Thomas Gleixner , Richard Kuo , Mark Salter , Jonas Bonn , Tobias Klauser Subject: Re: RFD: x32 ABI system call numbers References: <4E582577.2060805@zytor.com> <2722845.TegCUU4bu0@wuerfel> <201109051921.59776.arnd@arndb.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/05/2011 12:54 PM, H.J. Lu wrote: > > Since readv/writev/preadv/pwritev have const struct iovec *iov, I > have to copy the whole array. compat_sys seems more efficient. > compat_sys for these do exactly what we want, right? -hpa