From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754563AbYHNVu5 (ORCPT ); Thu, 14 Aug 2008 17:50:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751410AbYHNVut (ORCPT ); Thu, 14 Aug 2008 17:50:49 -0400 Received: from terminus.zytor.com ([198.137.202.10]:55777 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751390AbYHNVut (ORCPT ); Thu, 14 Aug 2008 17:50:49 -0400 Message-ID: <48A4A6EE.1070508@zytor.com> Date: Thu, 14 Aug 2008 14:43:10 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Andi Kleen CC: Mathieu Desnoyers , Ingo Molnar , Jeremy Fitzhardinge , Harvey Harrison , Linus Torvalds , Steven Rostedt , Steven Rostedt , LKML , Thomas Gleixner , Peter Zijlstra , Andrew Morton , David Miller , Roland McGrath , Ulrich Drepper , Rusty Russell , Gregory Haskins , Arnaldo Carvalho de Melo , "Luis Claudio R. Goncalves" , Clark Williams , Christoph Lameter Subject: Re: [PATCH] x86 alternatives : fix LOCK_PREFIX race with preemptible kernel and CPU hotplug References: <20080814205815.GA14076@Krystal> <20080814212036.GD13814@one.firstfloor.org> In-Reply-To: <20080814212036.GD13814@one.firstfloor.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andi Kleen wrote: >> So, unless these calculus are completely bogus, the difference between the nop >> and the DS case seems not to be statistically significant. > > My understanding was that the nops only make a measurable difference in the > -pg/mcount/ftrace patched out case where every function call starts with a 5 > byte nop. > > Presumably function calls are much more common than lock prefix operations. Yeah, although the LOCK prefix was measurable. -hpa