From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932457Ab0IXQT5 (ORCPT ); Fri, 24 Sep 2010 12:19:57 -0400 Received: from terminus.zytor.com ([198.137.202.10]:43307 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932445Ab0IXQT4 (ORCPT ); Fri, 24 Sep 2010 12:19:56 -0400 Message-ID: <4C9CCF98.7000506@zytor.com> Date: Fri, 24 Sep 2010 09:19:36 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Thunderbird/3.1.3 MIME-Version: 1.0 To: mingo@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org, rostedt@goodmis.org, tglx@linutronix.de, jbaron@redhat.com CC: linux-tip-commits@vger.kernel.org Subject: Re: [tip:perf/core] jump label: x86 support References: In-Reply-To: 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 09/24/2010 02:01 AM, tip-bot for Jason Baron wrote: > Commit-ID: d9f5ab7b1c0a520867af389bab5d5fcdbd0e407e > Gitweb: http://git.kernel.org/tip/d9f5ab7b1c0a520867af389bab5d5fcdbd0e407e > Author: Jason Baron > AuthorDate: Fri, 17 Sep 2010 11:09:22 -0400 > Committer: Steven Rostedt > CommitDate: Wed, 22 Sep 2010 16:33:03 -0400 > > jump label: x86 support > > add x86 support for jump label. I'm keeping this patch separate so its clear > to arch maintainers what was required for x86 support this new feature. > Hopefully, it wouldn't be too painful for other archs. > > Signed-off-by: Jason Baron > LKML-Reference: > > [ cleaned up some formatting ] > > Signed-off-by: Steven Rostedt > --- > arch/x86/Kconfig | 1 + > arch/x86/include/asm/jump_label.h | 47 ++++++++++++++++++++++++++++++++++ > arch/x86/kernel/Makefile | 2 +- > arch/x86/kernel/jump_label.c | 50 +++++++++++++++++++++++++++++++++++++ > arch/x86/kernel/module.c | 3 ++ > 5 files changed, 102 insertions(+), 1 deletions(-) > > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index cea0cd9..afcd663 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -59,6 +59,7 @@ config X86 > select ANON_INODES > select HAVE_ARCH_KMEMCHECK > select HAVE_USER_RETURN_NOTIFIER > + select HAVE_ARCH_JUMP_LABEL if !CC_OPTIMIZE_FOR_SIZE > > config INSTRUCTION_DECODER > def_bool (KPROBES || PERF_EVENTS) What the heck? I had NAKed at least this chunk already... -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.