aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/code-patching.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-03-22 16:40:18 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2022-05-08 22:15:41 +1000
commitcb3ac45214c03852430979a43180371a44b74596 (patch)
tree6ab9c9d1fba2707d16e9c6c396f3a963eafde0f9 /arch/powerpc/include/asm/code-patching.h
parentpowerpc: align address to page boundary in change_page_attr() (diff)
downloadlinux-dev-cb3ac45214c03852430979a43180371a44b74596.tar.xz
linux-dev-cb3ac45214c03852430979a43180371a44b74596.zip
powerpc/code-patching: Don't call is_vmalloc_or_module_addr() without CONFIG_MODULES
If CONFIG_MODULES is not set, there is no point in checking whether text is in module area. This reduced the time needed to activate/deactivate ftrace by more than 10% on an 8xx. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/f3c701cce00a38620788c0fc43ff0b611a268c54.1647962456.git.christophe.leroy@csgroup.eu
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions