Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261908AbVAYMA1 (ORCPT ); Tue, 25 Jan 2005 07:00:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261911AbVAYMA1 (ORCPT ); Tue, 25 Jan 2005 07:00:27 -0500 Received: from colin2.muc.de ([193.149.48.15]:10256 "HELO colin2.muc.de") by vger.kernel.org with SMTP id S261908AbVAYMAY (ORCPT ); Tue, 25 Jan 2005 07:00:24 -0500 Date: 25 Jan 2005 13:00:23 +0100 Date: Tue, 25 Jan 2005 13:00:23 +0100 From: Andi Kleen To: Andreas Gruenbacher Cc: Nathan Scott , Mike Waychison , Jesper Juhl , Felipe Alfaro Solana , Trond Myklebust , linux-kernel@vger.kernel.org, Buck Huppmann , Neil Brown , "Andries E. Brouwer" , Andrew Morton , Olaf Kirch , Tim Hockin Subject: Re: [patch 1/13] Qsort Message-ID: <20050125120023.GA8067@muc.de> References: <20050122203326.402087000@blunzn.suse.de> <41F570F3.3020306@sun.com> <20050125065157.GA8297@muc.de> <200501251112.46476.agruen@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200501251112.46476.agruen@suse.de> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 703 Lines: 14 > It would slow down the groups case (unless we leave the specialized version > in). Gcc doesn't inline a cmp function pointer, and a C preprocessor > templatized version would be really ugly. A variant with of this routine with > qsort like interface should be good enough for nfsacl and xfs though. group initialization is not time critical, it typically only happens at login. Also it's doubleful you'll even be able to measure the difference. -Andi - 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/