diff options
author | 2023-12-19 23:28:53 +0100 | |
---|---|---|
committer | 2023-12-29 11:58:38 -0800 | |
commit | b556a462eb8df6b6836c318d23f43409c40a7c7e (patch) | |
tree | 15248e18ef1834502109aea25ecce651ddca1b74 /mm/mempool.c | |
parent | kasan: clean up __kasan_mempool_poison_object (diff) | |
download | wireguard-linux-b556a462eb8df6b6836c318d23f43409c40a7c7e.tar.xz wireguard-linux-b556a462eb8df6b6836c318d23f43409c40a7c7e.zip |
kasan: save free stack traces for slab mempools
Make kasan_mempool_poison_object save free stack traces for slab and
kmalloc mempools when the object is freed into the mempool.
Also simplify and rename ____kasan_slab_free to poison_slab_object and do
a few other reability changes.
Link: https://lkml.kernel.org/r/413a7c7c3344fb56809853339ffaabc9e4905e94.1703024586.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Cc: Alexander Lobakin <alobakin@pm.me>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Breno Leitao <leitao@debian.org>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Evgenii Stepanov <eugenis@google.com>
Cc: Marco Elver <elver@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/mempool.c')
0 files changed, 0 insertions, 0 deletions