summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLi Bin <huawei.libin@huawei.com>2015-10-30 11:31:04 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-01-31 22:25:53 +0300
commit18f936642fe1a3eaacb7c277c940d82a66f361e8 (patch)
treec6f800c8281465282505313ebd908168eca370bc /arch
parent96c81d0a768a895e4c95a66b2653be80c62337e7 (diff)
downloadlinux-18f936642fe1a3eaacb7c277c940d82a66f361e8.tar.xz
recordmcount: arm64: Replace the ignored mcount call into nop
commit 2ee8a74f2a5da913637f75a19a0da0e7a08c0f86 upstream. 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. Link: http://lkml.kernel.org/r/1446019445-14421-1-git-send-email-huawei.libin@huawei.com Link: http://lkml.kernel.org/r/1446193864-24593-4-git-send-email-huawei.libin@huawei.com Cc: <lkp@intel.com> Cc: <catalin.marinas@arm.com> Cc: <takahiro.akashi@linaro.org> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Li Bin <huawei.libin@huawei.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions