Skip to content

Commit 4519a25

Browse files
rpptakpm00
authored andcommitted
xtensa: 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/20230324052233.2654090-15-rppt@kernel.org Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org> Reviewed-by: Max Filippov <jcmvbkbc@gmail.com> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Reviewed-by: Zi Yan <ziy@nvidia.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Christophe Leroy <christophe.leroy@csgroup.eu> Cc: David Miller <davem@davemloft.net> Cc: Dinh Nguyen <dinguyen@kernel.org> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Guo Ren <guoren@kernel.org> Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Rich Felker <dalias@libc.org> Cc: "Russell King (Oracle)" <linux@armlinux.org.uk> Cc: Will Deacon <will@kernel.org> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent 8def4c0 commit 4519a25

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

arch/xtensa/Kconfig

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -772,15 +772,17 @@ config HIGHMEM
772772
If unsure, say Y.
773773

774774
config ARCH_FORCE_MAX_ORDER
775-
int "Maximum zone order"
775+
int "Order of maximal physically contiguous allocations"
776776
default "10"
777777
help
778-
The kernel memory allocator divides physically contiguous memory
779-
blocks into "zones", where each zone is a power of two number of
780-
pages. This option selects the largest power of two that the kernel
781-
keeps in the memory allocator. If you need to allocate very large
782-
blocks of physically contiguous memory, then you may need to
783-
increase this value.
778+
The kernel page allocator limits the size of maximal physically
779+
contiguous allocations. The limit is called MAX_ORDER and it
780+
defines the maximal power of two of number of pages that can be
781+
allocated as a single contiguous block. This option allows
782+
overriding the default setting when ability to allocate very
783+
large blocks of physically contiguous memory is required.
784+
785+
Don't change if unsure.
784786

785787
endmenu
786788

0 commit comments

Comments
 (0)