From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750855Ab0JOVic (ORCPT ); Fri, 15 Oct 2010 17:38:32 -0400 Received: from mail3.caviumnetworks.com ([12.108.191.235]:11096 "EHLO mail3.caviumnetworks.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750776Ab0JOVib (ORCPT ); Fri, 15 Oct 2010 17:38:31 -0400 Message-ID: <4CB8C9D1.1050106@caviumnetworks.com> Date: Fri, 15 Oct 2010 14:38:25 -0700 From: David Daney User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100907 Fedora/3.0.7-1.fc12 Thunderbird/3.0.7 MIME-Version: 1.0 To: Steven Rostedt CC: Peter Zijlstra , linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton , Frederic Weisbecker , Jason Baron , David Miller Subject: Re: [PATCH 8/9] jump label: Make arch_jump_label_text_poke_early() optional References: <20101015200949.134732894@goodmis.org> <20101015201037.703989993@goodmis.org> <1287176815.1998.117.camel@laptop> <1287176910.16971.2.camel@gandalf.stny.rr.com> <4CB8C61A.2050008@caviumnetworks.com> <1287178546.16971.4.camel@gandalf.stny.rr.com> In-Reply-To: <1287178546.16971.4.camel@gandalf.stny.rr.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 15 Oct 2010 21:38:46.0761 (UTC) FILETIME=[58F45590:01CB6CB1] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/15/2010 02:35 PM, Steven Rostedt wrote: > On Fri, 2010-10-15 at 14:22 -0700, David Daney wrote: > >> Really the SPARC code (and any architectures added in the future with a >> well defined optimal NOP) should be doing nothing here as well. >> >> So I could turn the question around and ask: How many empty definitions >> of this thing do you want in the tree? >> >> I will defer to Steven. If he wants to push the empty stubs into all >> the architectures, I will update the MIPS patch and he can remove/revert >> the 'jump label: Make arch_jump_label_text_poke_early() optional' patch. >> >> Let me know which option you would prefer. > > On IRC, Thomas Gleixner mentioned a better solution (something I've done > with ftrace). Just add a "weak" stub function. No need to get Kconfig > involved. > Do you want to write that patch, or shall I? David Daney