aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/mempool.c
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2023-12-19 23:28:54 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-12-29 11:58:38 -0800
commitce37eec0ab62fb1f04509b83161845859815ee13 (patch)
tree6f7912bd4a7a302203a235623715a2dbfdba03d0 /mm/mempool.c
parentkasan: save free stack traces for slab mempools (diff)
downloadwireguard-linux-ce37eec0ab62fb1f04509b83161845859815ee13.tar.xz
wireguard-linux-ce37eec0ab62fb1f04509b83161845859815ee13.zip
kasan: clean up and rename ____kasan_kmalloc
Introduce a new poison_kmalloc_redzone helper function that poisons the redzone for kmalloc object. Drop the confusingly named ____kasan_kmalloc function and instead use poison_kmalloc_redzone along with the other required parts of ____kasan_kmalloc in the callers' code. This is a preparatory change for the following patches in this series. Link: https://lkml.kernel.org/r/5881232ad357ec0d59a5b1aefd9e0673a386399a.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