From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758784AbcBYEhC (ORCPT ); Wed, 24 Feb 2016 23:37:02 -0500 Received: from mail-pf0-f181.google.com ([209.85.192.181]:35373 "EHLO mail-pf0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751785AbcBYEg7 (ORCPT ); Wed, 24 Feb 2016 23:36:59 -0500 Subject: Re: [PATCH 01/12] powerpc/module: Only try to generate the ftrace_caller() stub once To: Michael Ellerman , linuxppc-dev@ozlabs.org References: <1456324115-21144-1-git-send-email-mpe@ellerman.id.au> <56CE42F2.8080104@gmail.com> Cc: duwe@lst.de, linux-kernel@vger.kernel.org, rostedt@goodmis.org, kamalesh@linux.vnet.ibm.com, pmladek@suse.com, jeyu@redhat.com, jkosina@suse.cz, live-patching@vger.kernel.org, mbenes@suse.cz From: Balbir Singh Message-ID: <56CE84E4.6020900@gmail.com> Date: Thu, 25 Feb 2016 15:36:52 +1100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <56CE42F2.8080104@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/02/16 10:55, Balbir Singh wrote: > > On 25/02/16 01:28, Michael Ellerman wrote: >> Currently we generate the module stub for ftrace_caller() at the bottom >> of apply_relocate_add(). However apply_relocate_add() is potentially >> called more than once per module, which means we will try to generate >> the ftrace_caller() stub multiple times. > This makes sense > Reviewed-by: Balbir Singh For the entire series also Tested-by: Balbir Singh