Skip to content

Commit 5646e83

Browse files
rpptakpm00
authored andcommitted
nios2: 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 7a5b272 commit 5646e83

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

arch/nios2/Kconfig

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,18 @@ menu "Kernel features"
4545
source "kernel/Kconfig.hz"
4646

4747
config ARCH_FORCE_MAX_ORDER
48-
int "Maximum zone order"
48+
int "Order of maximal physically contiguous allocations"
4949
range 8 19
5050
default "10"
5151
help
52-
The kernel memory allocator divides physically contiguous memory
53-
blocks into "zones", where each zone is a power of two number of
54-
pages. This option selects the largest power of two that the kernel
55-
keeps in the memory allocator. If you need to allocate very large
56-
blocks of physically contiguous memory, then you may need to
57-
increase this value.
52+
The kernel page allocator limits the size of maximal physically
53+
contiguous allocations. The limit is called MAX_ORDER and it
54+
defines the maximal power of two of number of pages that can be
55+
allocated as a single contiguous block. This option allows
56+
overriding the default setting when ability to allocate very
57+
large blocks of physically contiguous memory is required.
58+
59+
Don't change if unsure.
5860

5961
endmenu
6062

0 commit comments

Comments
 (0)