From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965394AbbJ1L6b (ORCPT ); Wed, 28 Oct 2015 07:58:31 -0400 Received: from foss.arm.com ([217.140.101.70]:33597 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964963AbbJ1L63 (ORCPT ); Wed, 28 Oct 2015 07:58:29 -0400 Date: Wed, 28 Oct 2015 11:58:25 +0000 From: Will Deacon To: Steven Rostedt Cc: Li Bin , catalin.marinas@arm.com, takahiro.akashi@linaro.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, guohanjun@huawei.com, dingtianhong@huawei.com, zhouchengming1@huawei.com Subject: Re: [PATCH] recordmcount: arm64: replace the ignored mcount call into nop Message-ID: <20151028115825.GB29512@arm.com> References: <1446019445-14421-1-git-send-email-huawei.libin@huawei.com> <20151028041619.4e44491a@grimm.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151028041619.4e44491a@grimm.local.home> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 28, 2015 at 04:16:19AM -0400, Steven Rostedt wrote: > On Wed, 28 Oct 2015 16:04:05 +0800 > Li Bin wrote: > > > By now, the recordmcount only records the function that in > > following sections: > > .text/.ref.text/.sched.text/.spinlock.text/.irqentry.text/ > > .kprobes.text/.text.unlikely > > > > For the function that not in these sections, the call mcount > > will be in place and not be replaced when kernel boot up. And > > it will bring performance overhead, such as do_mem_abort (in > > .exception.text section). This patch make the call mcount to > > nop for this case in recordmcount. > > I can take this in my tree with an Ack from the ARM64 maintainers. Looks like it does what it says on the tin: Acked-by: Will Deacon Will