From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 22 May 2002 16:28:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 22 May 2002 16:28:29 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.31.123]:61963 "EHLO atrey.karlin.mff.cuni.cz") by vger.kernel.org with ESMTP id ; Wed, 22 May 2002 16:28:28 -0400 Date: Wed, 22 May 2002 22:28:31 +0200 From: Pavel Machek To: Linus Torvalds Cc: Alan Cox , Andrew Morton , Rusty Russell , linux-kernel@vger.kernel.org Subject: Re: AUDIT: copy_from_user is a deathtrap. Message-ID: <20020522202831.GA5551@atrey.karlin.mff.cuni.cz> In-Reply-To: <20020522141306.GB29028@atrey.karlin.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > > Its festering quietly in the glibc source tree where all large and > > > dubiously justifiable hacks seem to end up > > > > In such case, linus, here is your "reasonable" example. For PPro, it > > is faster to copy out-of-order, and if we wanted to use that for > > copy_to_user, you'd have your example. > > Hey, you didn't read Alan's email. > > The fact that glibc may use it is a strike _against_ your example. > > Have you looked at glibc performance lately? :-). Pavel -- Casualities in World Trade Center: ~3k dead inside the building, cryptography in U.S.A. and free speech in Czech Republic.