Skip to content

Commit 771cf19

Browse files
committed
s390/mm: allow order 10 allocations
Get rid of FORCE_MAX_ZONEORDER which limited allocations to order 8 (= 1MB) and use the default, which allows for order 10 (= 4MB) allocations. Given that s390 allows less than the default this caused some memory allocation problems more or less unique to s390 from time to time. Note: this was originally introduced with commit 684de39 ("[S390] Fix IPL from NSS.") in order to support Named Saved Segments, which could start/end at an arbitrary 1 megabyte boundary and also before support for sparsemem vmemmmap was enabled. Since NSS support is gone, but sparsemem vmemmap support is available this limitation can go away. Signed-off-by: Heiko Carstens <[email protected]>
1 parent 3c5f2eb commit 771cf19

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arch/s390/Kconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -625,10 +625,6 @@ config ARCH_ENABLE_MEMORY_HOTREMOVE
625625
config ARCH_ENABLE_SPLIT_PMD_PTLOCK
626626
def_bool y
627627

628-
config FORCE_MAX_ZONEORDER
629-
int
630-
default "9"
631-
632628
config MAX_PHYSMEM_BITS
633629
int "Maximum size of supported physical memory in bits (42-53)"
634630
range 42 53

0 commit comments

Comments
 (0)