Skip to content

Commit b2a37fb

Browse files
rpptakpm00
authored andcommitted
sh: 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. [[email protected]: tweak ARCH_FORCE_MAX_ORDER's `range'] Link: https://lkml.kernel.org/r/[email protected] 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 1e8fed8 commit b2a37fb

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

arch/sh/mm/Kconfig

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ config PAGE_OFFSET
1919
default "0x00000000"
2020

2121
config ARCH_FORCE_MAX_ORDER
22-
int "Maximum zone order"
22+
int "Order of maximal physically contiguous allocations"
2323
range 8 63 if PAGE_SIZE_16KB
2424
default "8" if PAGE_SIZE_16KB
2525
range 6 63 if PAGE_SIZE_64KB
@@ -28,16 +28,18 @@ config ARCH_FORCE_MAX_ORDER
2828
default "13" if !MMU
2929
default "10"
3030
help
31-
The kernel memory allocator divides physically contiguous memory
32-
blocks into "zones", where each zone is a power of two number of
33-
pages. This option selects the largest power of two that the kernel
34-
keeps in the memory allocator. If you need to allocate very large
35-
blocks of physically contiguous memory, then you may need to
36-
increase this value.
31+
The kernel page allocator limits the size of maximal physically
32+
contiguous allocations. The limit is called MAX_ORDER and it
33+
defines the maximal power of two of number of pages that can be
34+
allocated as a single contiguous block. This option allows
35+
overriding the default setting when ability to allocate very
36+
large blocks of physically contiguous memory is required.
3737

3838
The page size is not necessarily 4KB. Keep this in mind when
3939
choosing a value for this option.
4040

41+
Don't change if unsure.
42+
4143
config MEMORY_START
4244
hex "Physical memory start address"
4345
default "0x08000000"

0 commit comments

Comments
 (0)