]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mips: drop ranges for definition of ARCH_FORCE_MAX_ORDER
authorMike Rapoport (IBM) <rppt@kernel.org>
Wed, 22 Mar 2023 08:15:20 +0000 (10:15 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 28 Mar 2023 23:25:03 +0000 (16:25 -0700)
commit4a7fc884e22231ab2769ea0458a35bbb0ea3571f
tree386fb365f7577da3e480c48fae8cd99e890f5dc6
parent290770f983732ca478415e04522fd20a04b2be75
mips: drop ranges for definition of ARCH_FORCE_MAX_ORDER

MIPS defines insane ranges for ARCH_FORCE_MAX_ORDER allowing MAX_ORDER up
to 63, which implies maximal contiguous allocation size of 2^63 pages.

Drop bogus definitions of ranges for ARCH_FORCE_MAX_ORDER and leave it a
simple integer with sensible defaults.

Users that *really* need to change the value of ARCH_FORCE_MAX_ORDER will
be able to do so but they won't be mislead by the bogus ranges.

Link: https://lkml.kernel.org/r/20230322081520.2516226-1-rppt@kernel.org
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: WANG Xuerui <kernel@xen0n.name>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/mips/Kconfig