diff options
| author | Andrey Konovalov <[email protected]> | 2023-12-19 23:28:50 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-12-29 11:58:37 -0800 |
| commit | f129c31039283df884913142b0f3797d64d3a9d6 (patch) | |
| tree | 28fe15be533340c6d182b0fbbafecc16f7ebbff5 /tools/perf/scripts/python/netdev-times.py | |
| parent | 1956832753735b1c399b86b2c66cb7c317dc9f31 (diff) | |
kasan: introduce kasan_mempool_poison_pages
Introduce and document a kasan_mempool_poison_pages hook to be used by the
mempool code instead of kasan_poison_pages.
Compated to kasan_poison_pages, the new hook:
1. For the tag-based modes, skips checking and poisoning allocations that
were not tagged due to sampling.
2. Checks for double-free and invalid-free bugs.
In the future, kasan_poison_pages can also be updated to handle #2, but
this is out-of-scope of this series.
Link: https://lkml.kernel.org/r/88dc7340cce28249abf789f6e0c792c317df9ba5.1703024586.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <[email protected]>
Cc: Alexander Lobakin <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Breno Leitao <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Evgenii Stepanov <[email protected]>
Cc: Marco Elver <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions