patch01 use common KFENCE_POOL_SIZE for LoongArch
patch02 allow change objects number
v1: https://lore.kernel.org/lkml/20251218015849.1414609-1-yuanlinyu@honor.com/
v2: remove patch02 in v1
yuan linyu (2):
LoongArch: kfence: avoid use CONFIG_KFENCE_NUM_OBJECTS
kfence: allow change number of object by early parameter
arch/loongarch/include/asm/pgtable.h | 3 +-
include/linux/kfence.h | 5 +-
mm/kfence/core.c | 122 +++++++++++++++++++--------
mm/kfence/kfence.h | 4 +-
mm/kfence/kfence_test.c | 2 +-
5 files changed, 98 insertions(+), 38 deletions(-)
--
2.25.1