diff options
author | Alexander Potapenko <[email protected]> | 2018-02-06 15:38:24 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-02-06 18:32:44 -0800 |
commit | a571b272ab0f82399e8b2ede8c95d153d76a3534 (patch) | |
tree | 49405f84b2e7787235f1ddd1e4b3e9ed5d8779a1 /lib/find_bit_benchmark.c | |
parent | 334cfa48d38f5416c125a71a57f72d6cf634d797 (diff) |
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/[email protected]
Signed-off-by: Alexander Potapenko <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/find_bit_benchmark.c')
0 files changed, 0 insertions, 0 deletions