Skip to content

Commit 6fc5430

Browse files
rpptakpm00
authored andcommitted
powerpc: reword ARCH_FORCE_MAX_ORDER prompt and help text
The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Mike Rapoport (IBM) <[email protected]> Acked-by: Kirill A. Shutemov <[email protected]> Reviewed-by: Zi Yan <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Christophe Leroy <[email protected]> Cc: David Miller <[email protected]> Cc: Dinh Nguyen <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Guo Ren <[email protected]> Cc: John Paul Adrian Glaubitz <[email protected]> Cc: Max Filippov <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Rich Felker <[email protected]> Cc: "Russell King (Oracle)" <[email protected]> Cc: Will Deacon <[email protected]> Cc: Yoshinori Sato <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 482f7b7 commit 6fc5430

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

arch/powerpc/Kconfig

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ config DATA_SHIFT
896896
8M pages will be pinned.
897897

898898
config ARCH_FORCE_MAX_ORDER
899-
int "Maximum zone order"
899+
int "Order of maximal physically contiguous allocations"
900900
range 7 8 if PPC64 && PPC_64K_PAGES
901901
default "8" if PPC64 && PPC_64K_PAGES
902902
range 12 12 if PPC64 && !PPC_64K_PAGES
@@ -910,17 +910,19 @@ config ARCH_FORCE_MAX_ORDER
910910
range 10 63
911911
default "10"
912912
help
913-
The kernel memory allocator divides physically contiguous memory
914-
blocks into "zones", where each zone is a power of two number of
915-
pages. This option selects the largest power of two that the kernel
916-
keeps in the memory allocator. If you need to allocate very large
917-
blocks of physically contiguous memory, then you may need to
918-
increase this value.
913+
The kernel page allocator limits the size of maximal physically
914+
contiguous allocations. The limit is called MAX_ORDER and it
915+
defines the maximal power of two of number of pages that can be
916+
allocated as a single contiguous block. This option allows
917+
overriding the default setting when ability to allocate very
918+
large blocks of physically contiguous memory is required.
919919

920920
The page size is not necessarily 4KB. For example, on 64-bit
921921
systems, 64KB pages can be enabled via CONFIG_PPC_64K_PAGES. Keep
922922
this in mind when choosing a value for this option.
923923

924+
Don't change if unsure.
925+
924926
config PPC_SUBPAGE_PROT
925927
bool "Support setting protections for 4k subpages (subpage_prot syscall)"
926928
default n

0 commit comments

Comments
 (0)