summaryrefslogtreecommitdiffstats
path: root/mm/mempolicy.c
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2021-03-13 06:08:00 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2021-03-13 20:27:30 +0100
commit0aa41cae92c1e2e61ae5b3a2dde8e674172e40ac (patch)
treeac5e4d06e1703059b8f87899665ebf521fbfdb6d /mm/mempolicy.c
parentkfence, slab: fix cache_alloc_debugcheck_after() for bulk allocations (diff)
downloadlinux-0aa41cae92c1e2e61ae5b3a2dde8e674172e40ac.tar.xz
linux-0aa41cae92c1e2e61ae5b3a2dde8e674172e40ac.zip
kfence: fix reports if constant function prefixes exist
Some architectures prefix all functions with a constant string ('.' on ppc64). Add ARCH_FUNC_PREFIX, which may optionally be defined in <asm/kfence.h>, so that get_stack_skipnr() can work properly. Link: https://lkml.kernel.org/r/f036c53d-7e81-763c-47f4-6024c6c5f058@csgroup.eu Link: https://lkml.kernel.org/r/20210304144000.1148590-1-elver@google.com Signed-off-by: Marco Elver <elver@google.com> Reported-by: Christophe Leroy <christophe.leroy@csgroup.eu> Tested-by: Christophe Leroy <christophe.leroy@csgroup.eu> Cc: Alexander Potapenko <glider@google.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Andrey Konovalov <andreyknvl@google.com> Cc: Jann Horn <jannh@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions