summaryrefslogtreecommitdiff
path: root/lib/notifier-error-inject.h
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2018-02-07 02:38:24 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2018-02-07 05:32:44 +0300
commita571b272ab0f82399e8b2ede8c95d153d76a3534 (patch)
tree49405f84b2e7787235f1ddd1e4b3e9ed5d8779a1 /lib/notifier-error-inject.h
parent334cfa48d38f5416c125a71a57f72d6cf634d797 (diff)
downloadlinux-a571b272ab0f82399e8b2ede8c95d153d76a3534.tar.xz
lib/stackdepot.c: use a non-instrumented version of memcmp()
stackdepot used to call memcmp(), which compiler tools normally instrument, therefore every lookup used to unnecessarily call instrumented code. This is somewhat ok in the case of KASAN, but under KMSAN a lot of time was spent in the instrumentation. Link: http://lkml.kernel.org/r/20171117172149.69562-1-glider@google.com Signed-off-by: Alexander Potapenko <glider@google.com> Cc: Andrey Ryabinin <aryabinin@virtuozzo.com> Cc: Dmitry Vyukov <dvyukov@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/notifier-error-inject.h')
0 files changed, 0 insertions, 0 deletions