Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757850Ab1F2Upp (ORCPT ); Wed, 29 Jun 2011 16:45:45 -0400 Received: from mga01.intel.com ([192.55.52.88]:41920 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757618Ab1F2Upm (ORCPT ); Wed, 29 Jun 2011 16:45:42 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.65,445,1304319600"; d="scan'208";a="22052415" From: Andi Kleen To: Jeremy Fitzhardinge Cc: Peter Zijlstra , "H. Peter Anvin" , Ingo Molnar , the arch/x86 maintainers , Linux Kernel Mailing List , Nick Piggin , Jeremy Fitzhardinge Subject: Re: [PATCH RFC 0/7] x86: convert ticketlocks to C and remove duplicate code References: Date: Wed, 29 Jun 2011 13:44:19 -0700 In-Reply-To: (Jeremy Fitzhardinge's message of "Thu, 16 Jun 2011 14:40:47 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 779 Lines: 20 Jeremy Fitzhardinge writes: > > I couldn't measure a consistent performance difference between the two > implemenations; there seemed to be +/- ~1% +/-, which is the level of > variation I see from simply recompiling the kernel with slightly > different code alignment. I ran your new locks in my lock tester and I have a similar experience. There's some variation, but it seems to be in the usual variance. In some cases the C locks were actually faster. -Andi -- ak@linux.intel.com -- Speaking for myself only -- 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/