Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754155AbZFVWUy (ORCPT ); Mon, 22 Jun 2009 18:20:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751277AbZFVWUn (ORCPT ); Mon, 22 Jun 2009 18:20:43 -0400 Received: from casper.infradead.org ([85.118.1.10]:37328 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751089AbZFVWUm (ORCPT ); Mon, 22 Jun 2009 18:20:42 -0400 Subject: Re: [PATCH 06/14] Pramfs: Include files From: David Woodhouse To: =?ISO-8859-1?Q?J=F6rn?= Engel Cc: Chris Simmonds , Arnd Bergmann , Marco , Sam Ravnborg , Linux FS Devel , Linux Embedded , Linux Kernel In-Reply-To: <20090622214155.GA19332@logfs.org> References: <4A33A7EC.6070008@gmail.com> <200906221317.04166.arnd@arndb.de> <4A3FC7F1.5050108@gmail.com> <200906222033.20883.arnd@arndb.de> <4A3FDBFE.8050509@2net.co.uk> <20090622214155.GA19332@logfs.org> Content-Type: text/plain; charset="UTF-8" Date: Mon, 22 Jun 2009 23:20:39 +0100 Message-Id: <1245709239.25547.394.camel@macbook.infradead.org> Mime-Version: 1.0 X-Mailer: Evolution 2.26.2 (2.26.2-1.fc11) Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 989 Lines: 22 On Mon, 2009-06-22 at 23:41 +0200, Jörn Engel wrote: > Four loops doing the same increment with different data types: long, > u64, we32 (wrong-endian) and we64. Compile with _no_ optimizations. That's a bit of a poor test then. Especially on architectures with a load-and-swap instruction where it really shouldn't be any slower at all. (Although since GCC doesn't have an __attribute__((littleendian)) I'm not entirely sure how to entice it into _using_ said instruction for the purpose of the test... I think the kernel does manage somehow though, if you get the sources _just_ right.) -- David Woodhouse Open Source Technology Centre David.Woodhouse@intel.com Intel Corporation -- 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/