mbox series

[0/6] Simplify kfence code

Message ID 20230328095807.7014-1-songmuchun@bytedance.com (mailing list archive)
Headers show
Series Simplify kfence code | expand

Message

Muchun Song March 28, 2023, 9:58 a.m. UTC
This series aims to simplify kfence code, please review each patch separately.

Thanks.

Muchun Song (6):
  mm: kfence: simplify kfence pool initialization
  mm: kfence: check kfence pool size at building time
  mm: kfence: make kfence_protect_page() void
  mm: kfence: remove useless check for CONFIG_KFENCE_NUM_OBJECTS
  mm: kfence: change kfence pool page layout
  mm: kfence: replace ALIGN_DOWN(x, PAGE_SIZE) with PAGE_ALIGN_DOWN(x)

 arch/arm/include/asm/kfence.h     |   4 +-
 arch/arm64/include/asm/kfence.h   |   4 +-
 arch/parisc/include/asm/kfence.h  |   7 +-
 arch/powerpc/include/asm/kfence.h |   8 +-
 arch/riscv/include/asm/kfence.h   |   4 +-
 arch/s390/include/asm/kfence.h    |   3 +-
 arch/x86/include/asm/kfence.h     |   9 +-
 include/linux/kfence.h            |   8 +-
 mm/kfence/core.c                  | 229 +++++++++++++-------------------------
 mm/kfence/kfence.h                |   2 +-
 mm/kfence/kfence_test.c           |  14 ---
 11 files changed, 89 insertions(+), 203 deletions(-)