[mm,00/11] kasan: assorted clean-ups

Message ID cover.1703188911.git.andreyknvl@google.com
Headers
Series kasan: assorted clean-ups |

Message

andrey.konovalov@linux.dev Dec. 21, 2023, 8:04 p.m. UTC
  From: Andrey Konovalov <andreyknvl@google.com>

Code clean-ups, nothing worthy of being backported to stable.

This series goes on top of the "kasan: save mempool stack traces" one.

Andrey Konovalov (11):
  kasan/arm64: improve comments for KASAN_SHADOW_START/END
  mm, kasan: use KASAN_TAG_KERNEL instead of 0xff
  kasan: improve kasan_non_canonical_hook
  kasan: clean up kasan_requires_meta
  kasan: update kasan_poison documentation comment
  kasan: clean up is_kfence_address checks
  kasan: respect CONFIG_KASAN_VMALLOC for kasan_flag_vmalloc
  kasan: check kasan_vmalloc_enabled in vmalloc tests
  kasan: export kasan_poison as GPL
  kasan: remove SLUB checks for page_alloc fallbacks in tests
  kasan: speed up match_all_mem_tag test for SW_TAGS

 arch/arm64/include/asm/kasan.h  | 22 +--------------
 arch/arm64/include/asm/memory.h | 38 +++++++++++++++++++++-----
 arch/arm64/mm/kasan_init.c      |  5 ++++
 include/linux/kasan.h           |  1 +
 include/linux/mm.h              |  4 +--
 mm/kasan/common.c               | 26 +++++++++++-------
 mm/kasan/hw_tags.c              |  8 ++++++
 mm/kasan/kasan.h                | 48 ++++++++++++++++-----------------
 mm/kasan/kasan_test.c           | 45 ++++++++++++++-----------------
 mm/kasan/report.c               | 34 +++++++++++++----------
 mm/kasan/shadow.c               | 14 +---------
 mm/page_alloc.c                 |  2 +-
 12 files changed, 131 insertions(+), 116 deletions(-)