arch/kconfig: minor revision for KMAP_NPAGES

Adds missing dependency to MM_KMAP, revises comments.

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
This commit is contained in:
Yanfeng Liu 2024-04-14 05:29:21 +08:00 committed by Xiang Xiao
parent df7650af71
commit 6d7355b929

View file

@ -792,15 +792,11 @@ endif # ARCH_VMA_MAPPING
config ARCH_KMAP_NPAGES
int "Max kernel dynamic mapping pages"
default 1
depends on MM_KMAP
---help---
The maximum amount of pages that a kernel can use for dynamically
mapping physical pages to itself.
The size of the virtual shared memory address space is then
determined by the product of the maximum number of regions, the
maximum number of pages per region, and the configured size of
each page.
config ARCH_STACK_DYNAMIC
bool "Dynamic user stack"
default n