Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261414AbTFXKES (ORCPT ); Tue, 24 Jun 2003 06:04:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261785AbTFXKES (ORCPT ); Tue, 24 Jun 2003 06:04:18 -0400 Received: from caramon.arm.linux.org.uk ([212.18.232.186]:52241 "EHLO caramon.arm.linux.org.uk") by vger.kernel.org with ESMTP id S261414AbTFXKER (ORCPT ); Tue, 24 Jun 2003 06:04:17 -0400 Date: Tue, 24 Jun 2003 11:18:20 +0100 From: Russell King To: Pavel Machek Cc: torvalds@transmeta.com, kernel list , Rusty trivial patch monkey Russell Subject: Re: Provide example copy_in_user implementation Message-ID: <20030624111820.D6478@flint.arm.linux.org.uk> Mail-Followup-To: Pavel Machek , torvalds@transmeta.com, kernel list , Rusty trivial patch monkey Russell References: <20030624100610.GC159@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030624100610.GC159@elf.ucw.cz>; from pavel@ucw.cz on Tue, Jun 24, 2003 at 12:06:10PM +0200 X-Message-Flag: Your copy of Microsoft Outlook is vulnerable to viruses. See www.mutt.org for more details. Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 826 Lines: 19 On Tue, Jun 24, 2003 at 12:06:10PM +0200, Pavel Machek wrote: > This patch adds example copy_in_user implementation (copy_in_user is > needed for new ioctl32 implementation, all 64bit archs will need > it)... Please apply, get_user / put_user on byte quantities may be faster than using copy_from_user/copy_to_user on byte quantities. Yes, it may be a generic implementation, but there's no point in purposely making it inefficient. -- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/