From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933447Ab1JNVys (ORCPT ); Fri, 14 Oct 2011 17:54:48 -0400 Received: from terminus.zytor.com ([198.137.202.10]:49365 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752044Ab1JNVyr (ORCPT ); Fri, 14 Oct 2011 17:54:47 -0400 Message-ID: <4E98AF71.40303@zytor.com> Date: Fri, 14 Oct 2011 14:53:53 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 MIME-Version: 1.0 To: Steven Rostedt CC: Jeremy Fitzhardinge , "David S. Miller" , David Daney , Michael Ellerman , Jan Glauber , Jason Baron , the arch/x86 maintainers , Xen Devel , Linux Kernel Mailing List , Ingo Molnar , Peter Zijlstra , Jeremy Fitzhardinge Subject: Re: [PATCH RFC V4 09/10] x86/jump_label: use GENERIC_NOP5_ATOMIC instead of jmp5 +0 References: <34ede5db1571d541a5c3fc49923bb353a37dd431.1318464413.git.jeremy.fitzhardinge@citrix.com> <4E97067A.2070305@zytor.com> <4E97188A.6040400@goop.org> <1318531022.12224.13.camel@gandalf.stny.rr.com> In-Reply-To: <1318531022.12224.13.camel@gandalf.stny.rr.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/13/2011 11:37 AM, Steven Rostedt wrote: > On Thu, 2011-10-13 at 09:57 -0700, Jeremy Fitzhardinge wrote: >> On 10/13/2011 08:40 AM, H. Peter Anvin wrote: >>> On 10/12/2011 05:08 PM, Jeremy Fitzhardinge wrote: >>>> From: Jeremy Fitzhardinge >>>> >>>> GENERIC_NOP5_ATOMIC should make a better nop. >>>> >>> On 32 bits, yes. On 64 bits you should use P6_NOP5_ATOMIC. >> >> Something like this? >> > > No, we only care about 5byte nops here. Look at ideal_nop in > alterative.c > He needs a compile-time alternative. -hpa