Revert arm64: drop ranges in definition of ARCH_FORCE_MAX_ORDER
PATCH 1/1 Revert arm64: drop ranges in definition of ARCH_FORCE_MAX_ORDER
While the ARCH_FORCE_MAX_ORDER changes clarified the descriptions quite a bit, the aarch64 specific change moved this config to sit behind CONFIG_EXPERT. This becomes problematic when distros are setting this to a non default value already. Pushing it behind EXPERT where it was not before will silently change the configuration for users building with oldconfig. If distros patch out if EXPERT downstream, it still creates problems for users testing out upstream patches, or trying to bisect to find the root of problem, as the configuration will change unexpectedly, possibly leading to different behavior and false results.
Whem I asked about reverting the EXPERT, dependency, I was asked to add the ranges back.
This essentially reverts commit 34affcd7577a232803f729d1870ba475f294e4ea
--- arch/arm64/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
arch/arm64/Kconfig +3 -1
@@ -1516,9 +1516,11 @@ config XEN # 16K | 27 | 14 | 13 | 11 | # 64K | 29 | 16 | 13 | 13 | config ARCH_FORCE_MAX_ORDER - int "Order of maximal physically contiguous allocations" if EXPERT && (ARM64_4K_PAGES || ARM64_16K_PAGES) + int "Order of maximal physically contiguous allocations" if ARM64_4K_PAGES || ARM64_16K_PAGES default "13" if ARM64_64K_PAGES + range 11 13 if ARM64_16K_PAGES default "11" if ARM64_16K_PAGES + range 10 15 if ARM64_4K_PAGES default "10" help The kernel page allocator limits the size of maximal physically
Signature · 1 line
2.39.2
+ Mike and Andrew
Quoted 28 lines · Justin M. Forbes
While the
ARCH_FORCE_MAX_ORDERchanges clarified the descriptions quite a bit, the aarch64 specific change moved this config to sit behindCONFIG_EXPERT. This becomes problematic when distros are setting this to a non default value already. Pushing it behind EXPERT where it was not before will silently change the configuration for users building with oldconfig. If distros patch out if EXPERT downstream, it still creates problems for users testing out upstream patches, or trying to bisect to find the root of problem, as the configuration will change unexpectedly, possibly leading to different behavior and false results.Whem I asked about reverting the EXPERT, dependency, I was asked to add the ranges back.
This essentially reverts commit
34affcd7577a232803f729d1870ba475f294e4eaSigned-off-by Justin M. Forbes <[email protected]>Cc Catalin Marinas <[email protected]>--- arch/arm64/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)arch/arm64/Kconfig +0
-0@@ -1516,9 +1516,11 @@ config XEN # 16K | 27 | 14 | 13 | 11 | # 64K | 29 | 16 | 13 | 13 |
arch/arm64/Kconfig config XEN · line 1526
Quoted 10 lines
arch/arm64/Kconfig +3
-1config ARCH_FORCE_MAX_ORDER - int "Order of maximal physically contiguous allocations" if EXPERT && (ARM64_4K_PAGES || ARM64_16K_PAGES) + int "Order of maximal physically contiguous allocations" if ARM64_4K_PAGES || ARM64_16K_PAGES default "13" if ARM64_64K_PAGES + range 11 13 if ARM64_16K_PAGES default "11" if ARM64_16K_PAGES + range 10 15 if ARM64_4K_PAGES default "10" help The kernel page allocator limits the size of maximal physically
The revert looks fine to me:
For the record, the original discussion:
Quoted 14 lines · Catalin Marinas
+ Mike and Andrew
Quoted 11 lines · Justin M. Forbes
While the
ARCH_FORCE_MAX_ORDERchanges clarified the descriptions quite a bit, the aarch64 specific change moved this config to sit behindCONFIG_EXPERT. This becomes problematic when distros are setting this to a non default value already. Pushing it behind EXPERT where it was not before will silently change the configuration for users building with oldconfig. If distros patch out if EXPERT downstream, it still creates problems for users testing out upstream patches, or trying to bisect to find the root of problem, as the configuration will change unexpectedly, possibly leading to different behavior and false results.Whem I asked about reverting the EXPERT, dependency, I was asked to add
Nit: When
Quoted 30 lines
Quoted 17 lines
the ranges back.
This essentially reverts commit
34affcd7577a232803f729d1870ba475f294e4eaSigned-off-by Justin M. Forbes <[email protected]>Cc Catalin Marinas <[email protected]>--- arch/arm64/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)arch/arm64/Kconfig +0
-0@@ -1516,9 +1516,11 @@ config XEN # 16K | 27 | 14 | 13 | 11 | # 64K | 29 | 16 | 13 | 13 |arch/arm64/Kconfig config XEN · line 1526
Quoted 10 lines
arch/arm64/Kconfig +3
-1config ARCH_FORCE_MAX_ORDER - int "Order of maximal physically contiguous allocations" if EXPERT && (ARM64_4K_PAGES || ARM64_16K_PAGES) + int "Order of maximal physically contiguous allocations" if ARM64_4K_PAGES || ARM64_16K_PAGES default "13" if ARM64_64K_PAGES + range 11 13 if ARM64_16K_PAGES default "11" if ARM64_16K_PAGES + range 10 15 if ARM64_4K_PAGES default "10" help The kernel page allocator limits the size of maximal physicallyThe revert looks fine to me:
Quoted 5 lines
Acked-by Catalin Marinas <[email protected]>For the record, the original discussion:
I'm not really happy about this revert because MAX_ORDER is not something that should be changed easily.
But since hiding it behind EXPERT would silently change lots of existing builds, I won't object.
Still, I never got the answer _why_ Fedora/RHEL configs use non-default value. Quite possible something else needs to be fixed rather than having overgrown MAX_ORDER.
Signature · 2 lines
Sincerely yours, Mike.
Quoted 55 lines · Mike Rapoport
Quoted 14 lines · Catalin Marinas
+ Mike and Andrew
Quoted 11 lines · Justin M. Forbes
While the
ARCH_FORCE_MAX_ORDERchanges clarified the descriptions quite a bit, the aarch64 specific change moved this config to sit behindCONFIG_EXPERT. This becomes problematic when distros are setting this to a non default value already. Pushing it behind EXPERT where it was not before will silently change the configuration for users building with oldconfig. If distros patch out if EXPERT downstream, it still creates problems for users testing out upstream patches, or trying to bisect to find the root of problem, as the configuration will change unexpectedly, possibly leading to different behavior and false results.Whem I asked about reverting the EXPERT, dependency, I was asked to add
Nit: When
Quoted 30 lines
Quoted 17 lines
the ranges back.
This essentially reverts commit
34affcd7577a232803f729d1870ba475f294e4eaSigned-off-by Justin M. Forbes <[email protected]>Cc Catalin Marinas <[email protected]>--- arch/arm64/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)arch/arm64/Kconfig +0
-0@@ -1516,9 +1516,11 @@ config XEN # 16K | 27 | 14 | 13 | 11 | # 64K | 29 | 16 | 13 | 13 |arch/arm64/Kconfig config XEN · line 1526
Quoted 10 lines
arch/arm64/Kconfig +3
-1config ARCH_FORCE_MAX_ORDER - int "Order of maximal physically contiguous allocations" if EXPERT && (ARM64_4K_PAGES || ARM64_16K_PAGES) + int "Order of maximal physically contiguous allocations" if ARM64_4K_PAGES || ARM64_16K_PAGES default "13" if ARM64_64K_PAGES + range 11 13 if ARM64_16K_PAGES default "11" if ARM64_16K_PAGES + range 10 15 if ARM64_4K_PAGES default "10" help The kernel page allocator limits the size of maximal physicallyThe revert looks fine to me:
Quoted 5 lines
Acked-by Catalin Marinas <[email protected]>For the record, the original discussion:
Quoted 8 lines
I'm not really happy about this revert because
MAX_ORDERis not something that should be changed easily.
But since hiding it behind EXPERT would silently change lots of existing builds, I won't object.Still, I never got the answer _why_ Fedora/RHEL configs use non-default value. Quite possible something else needs to be fixed rather than having overgrown
MAX_ORDER.
I get that, but I also looked at the rest of the patch set. Nowhere else was "if EXPERT" added. Why wasn't it added to other architectures? Not that I am complaining, but aarch64 in particular is the one arch where, as a distro, we are trying to accommodate both Raspberry Pi, and server class machines.
It is the practicality of building a single kernel image that works along a large number of machines. The defaults are fine for smaller boards, and honestly the majority of aarch64 hardware in circulation. They are not acceptable for server class machines running those types of workloads. For a long time, it was just Fedora running with 4K pages, and carrying a patch to allow MAX_ORDER to hit 13. With RHEL 9, the 4K page size became the default there as well, and they did the same. Eventually using a MAX_ORDER of 13 no longer required a patch of any kind. In an ideal world, we would be building a 4k kernel, a 64k kernel, and even a 16k kernel for users running Apple hardware, but logistically that is a whole lot more than just a kernel rebuild. It has QA cycles and support requirements that go along with it, etc.
Justin
Quoted 4 lines
--
Sincerely yours,
Mike.
Quoted 65 lines · Justin Forbes
Quoted 55 lines · Mike Rapoport
Quoted 14 lines · Catalin Marinas
+ Mike and Andrew
Quoted 11 lines · Justin M. Forbes
While the
ARCH_FORCE_MAX_ORDERchanges clarified the descriptions quite a bit, the aarch64 specific change moved this config to sit behindCONFIG_EXPERT. This becomes problematic when distros are setting this to a non default value already. Pushing it behind EXPERT where it was not before will silently change the configuration for users building with oldconfig. If distros patch out if EXPERT downstream, it still creates problems for users testing out upstream patches, or trying to bisect to find the root of problem, as the configuration will change unexpectedly, possibly leading to different behavior and false results.Whem I asked about reverting the EXPERT, dependency, I was asked to add
Nit: When
Quoted 30 lines
Quoted 17 lines
the ranges back.
This essentially reverts commit
34affcd7577a232803f729d1870ba475f294e4eaSigned-off-by Justin M. Forbes <[email protected]>Cc Catalin Marinas <[email protected]>--- arch/arm64/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)arch/arm64/Kconfig +0
-0@@ -1516,9 +1516,11 @@ config XEN # 16K | 27 | 14 | 13 | 11 | # 64K | 29 | 16 | 13 | 13 |arch/arm64/Kconfig config XEN · line 1526
Quoted 10 lines
arch/arm64/Kconfig +3
-1config ARCH_FORCE_MAX_ORDER - int "Order of maximal physically contiguous allocations" if EXPERT && (ARM64_4K_PAGES || ARM64_16K_PAGES) + int "Order of maximal physically contiguous allocations" if ARM64_4K_PAGES || ARM64_16K_PAGES default "13" if ARM64_64K_PAGES + range 11 13 if ARM64_16K_PAGES default "11" if ARM64_16K_PAGES + range 10 15 if ARM64_4K_PAGES default "10" help The kernel page allocator limits the size of maximal physicallyThe revert looks fine to me:
Quoted 5 lines
Acked-by Catalin Marinas <[email protected]>For the record, the original discussion:
Quoted 8 lines
I'm not really happy about this revert because
MAX_ORDERis not something that should be changed easily.
But since hiding it behind EXPERT would silently change lots of existing builds, I won't object.Still, I never got the answer _why_ Fedora/RHEL configs use non-default value. Quite possible something else needs to be fixed rather than having overgrown
MAX_ORDER.
Quoted 5 lines
I get that, but I also looked at the rest of the patch set. Nowhere else was "if EXPERT" added. Why wasn't it added to other architectures? Not that I am complaining, but aarch64 in particular is the one arch where, as a distro, we are trying to accommodate both Raspberry Pi, and server class machines.
The patch was about dropping the ranges, not about adding EXPERT. So on arm64 it was added because Catalin requested it, other arch maintainers didn't.
Quoted 5 lines
It is the practicality of building a single kernel image that works along a large number of machines. The defaults are fine for smaller boards, and honestly the majority of aarch64 hardware in circulation. They are not acceptable for server class machines running those types of workloads.
Why the default MAX_ORDER was not acceptable on arm64 server machines but it is fine on, say, x86 and s390?
I'm not asking how you made it possible in Fedora and RHEL, I'm asking why did you switch from the default order at all.
Quoted 6 lines
Justin
Quoted 4 lines
--
Sincerely yours,
Mike.
Signature · 2 lines
Sincerely yours, Mike.
Quoted 83 lines · Mike Rapoport
Quoted 65 lines · Justin Forbes
Quoted 55 lines · Mike Rapoport
Quoted 14 lines · Catalin Marinas
+ Mike and Andrew
Quoted 11 lines · Justin M. Forbes
While the
ARCH_FORCE_MAX_ORDERchanges clarified the descriptions quite a bit, the aarch64 specific change moved this config to sit behindCONFIG_EXPERT. This becomes problematic when distros are setting this to a non default value already. Pushing it behind EXPERT where it was not before will silently change the configuration for users building with oldconfig. If distros patch out if EXPERT downstream, it still creates problems for users testing out upstream patches, or trying to bisect to find the root of problem, as the configuration will change unexpectedly, possibly leading to different behavior and false results.Whem I asked about reverting the EXPERT, dependency, I was asked to add
Nit: When
Quoted 30 lines
Quoted 17 lines
the ranges back.
This essentially reverts commit
34affcd7577a232803f729d1870ba475f294e4eaSigned-off-by Justin M. Forbes <[email protected]>Cc Catalin Marinas <[email protected]>--- arch/arm64/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)arch/arm64/Kconfig +0
-0@@ -1516,9 +1516,11 @@ config XEN # 16K | 27 | 14 | 13 | 11 | # 64K | 29 | 16 | 13 | 13 |arch/arm64/Kconfig config XEN · line 1526
Quoted 10 lines
arch/arm64/Kconfig +3
-1config ARCH_FORCE_MAX_ORDER - int "Order of maximal physically contiguous allocations" if EXPERT && (ARM64_4K_PAGES || ARM64_16K_PAGES) + int "Order of maximal physically contiguous allocations" if ARM64_4K_PAGES || ARM64_16K_PAGES default "13" if ARM64_64K_PAGES + range 11 13 if ARM64_16K_PAGES default "11" if ARM64_16K_PAGES + range 10 15 if ARM64_4K_PAGES default "10" help The kernel page allocator limits the size of maximal physicallyThe revert looks fine to me:
Quoted 5 lines
Acked-by Catalin Marinas <[email protected]>For the record, the original discussion:
Quoted 8 lines
I'm not really happy about this revert because
MAX_ORDERis not something that should be changed easily.
But since hiding it behind EXPERT would silently change lots of existing builds, I won't object.Still, I never got the answer _why_ Fedora/RHEL configs use non-default value. Quite possible something else needs to be fixed rather than having overgrown
MAX_ORDER.Quoted 5 lines
I get that, but I also looked at the rest of the patch set. Nowhere else was "if EXPERT" added. Why wasn't it added to other architectures? Not that I am complaining, but aarch64 in particular is the one arch where, as a distro, we are trying to accommodate both Raspberry Pi, and server class machines.
The patch was about dropping the ranges, not about adding EXPERT. So on arm64 it was added because Catalin requested it, other arch maintainers didn't.
Quoted 5 lines
It is the practicality of building a single kernel image that works along a large number of machines. The defaults are fine for smaller boards, and honestly the majority of aarch64 hardware in circulation. They are not acceptable for server class machines running those types of workloads.
Quoted 4 lines
Why the default
MAX_ORDERwas not acceptable on arm64 server machines but it is fine on, say, x86 and s390?
I'm not asking how you made it possible in Fedora and RHEL, I'm asking why did you switch from the default order at all.
Because the MAX_ORDER on aarch64 with 4K pages is more tuned to the needs of the average edge client, not so much those of a server class machine. And I get it, I would say well over 90% of the Fedora users running aarch64 are indeed running on a rPi or similar with a small memory footprint, and workloads which match that. But we do support and run a 4K page size aarch64 kernel on proper server class hardware, running typical server workloads, and RHEL has a lot more users in the
server class than edge clients. RHEL could probably default to 64K
pages, and most users would be happy with that. Fedora certainly could not. At some point, we may consider adding another build so that we offer both 4K and 64K pages, but for now, this is where we are, and where we have been for years.
Justin
Quoted 11 lines
Quoted 6 lines
Justin
Quoted 4 lines
--
Sincerely yours,
Mike.--
Sincerely yours,
Mike.
Catalin Marinas
maintainerQuoted 6 lines · Justin Forbes
Quoted 4 lines · Mike Rapoport
Why the default
MAX_ORDERwas not acceptable on arm64 server machines but it is fine on, say, x86 and s390?
I'm not asking how you made it possible in Fedora and RHEL, I'm asking why did you switch from the default order at all.
Quoted 10 lines
Because the
MAX_ORDERon aarch64 with 4K pages is more tuned to the needs of the average edge client, not so much those of a server class machine. And I get it, I would say well over 90% of the Fedora users running aarch64 are indeed running on a rPi or similar with a small memory footprint, and workloads which match that. But we do support and run a 4K page size aarch64 kernel on proper server class hardware, running typical server workloads, and RHEL has a lot more users in the
server class than edge clients. RHEL could probably default to 64K
pages, and most users would be happy with that. Fedora certainly could not.
I was talking to Marc Zyngier earlier and he reckons the need for a higher MAX_ORDER is the GIC driver ITS allocation for Thunder-X. I'm happy to make ARCH_MAX_ORDER higher in defconfig (12, 13?) if CONFIG_ARCH_THUNDER. Mobile vendors won't enable this platform.
Regarding EXPERT, we could drop it and do like the other architectures but we'll have randconfig occasionally hitting weird values that won't build (like -1). Not sure EXPERT helps here.
Signature · 1 line
Catalin
Quoted 19 lines · Catalin Marinas
Quoted 6 lines · Justin Forbes
Quoted 4 lines · Mike Rapoport
Why the default
MAX_ORDERwas not acceptable on arm64 server machines but it is fine on, say, x86 and s390?
I'm not asking how you made it possible in Fedora and RHEL, I'm asking why did you switch from the default order at all.Quoted 10 lines
Because the
MAX_ORDERon aarch64 with 4K pages is more tuned to the needs of the average edge client, not so much those of a server class machine. And I get it, I would say well over 90% of the Fedora users running aarch64 are indeed running on a rPi or similar with a small memory footprint, and workloads which match that. But we do support and run a 4K page size aarch64 kernel on proper server class hardware, running typical server workloads, and RHEL has a lot more users in the
server class than edge clients. RHEL could probably default to 64K
pages, and most users would be happy with that. Fedora certainly could not.
Quoted 4 lines
I was talking to Marc Zyngier earlier and he reckons the need for a higher
MAX_ORDERis the GIC driver ITS allocation for Thunder-X. I'm happy to makeARCH_MAX_ORDERhigher in defconfig (12, 13?) ifCONFIG_ARCH_THUNDER. Mobile vendors won't enable this platform.
In any case, I'd like to know exactly *what* requires it. The only platform I know would benefit from this is the old TX1, but this machine is more a boat anchor than a real server.
M.
Signature · 1 line
Without deviation from the norm, progress is not possible.
Quoted 10 lines · Marc Zyngier
Quoted 8 lines · Catalin Marinas
Quoted 6 lines · Justin Forbes
Quoted 4 lines · Mike Rapoport
Why the default
MAX_ORDERwas not acceptable on arm64 server machines but it is fine on, say, x86 and s390?
I'm not asking how you made it possible in Fedora and RHEL, I'm asking why did you switch from the default order at all.
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Because the
MAX_ORDERon aarch64 with 4K pages is more tuned to the needs of the average edge client, not so much those of a server class machine. And I get it, I would say well over 90% of the Fedora users running aarch64 are indeed running on a rPi or similar with a small memory footprint, and workloads which match that. But we do support and run a 4K page size aarch64 kernel on proper server class hardware, running typical server workloads, and RHEL has a lot more users in the
server class than edge clients. RHEL could probably default to 64K
pages, and most users would be happy with that. Fedora certainly could not.
The memory size of the machine or how heavy the workloads it runs have nothing to do with MAX_ORDER. Again, x86 and s390 are perfectly fine with MAX_ORDER == 10 ...
Quoted 2 lines
Quoted 2 lines
I was talking to Marc Zyngier earlier and he reckons the need for a higher
MAX_ORDERis the GIC driver ITS allocation for Thunder-X.
... but this indeed could be the reason to increase MAX_ORDER.
Quoted 6 lines
Quoted 2 lines
I'm happy to make
ARCH_MAX_ORDERhigher in defconfig (12, 13?) ifCONFIG_ARCH_THUNDER. Mobile vendors won't enable this platform.In any case, I'd like to know exactly *what* requires it. The only platform I know would benefit from this is the old TX1, but this machine is more a boat anchor than a real server.
Yeah, if we'd knew what exactly requires such huge contiguous allocation, we probably could fix that and leave Kconfig alone.
Signature · 2 lines
Sincerely yours, Mike.
Quoted 5 lines · Catalin Marinas
On Mon, May 01, 2023 at 04:24:38PM -0500, Justin Forbes wrote:
Regarding EXPERT, we could drop it and do like the other architectures but we'll have randconfig occasionally hitting weird values that won't build (like -1). Not sure EXPERT helps here.
AFAIU, randconfig does not randomize int values, it's probably random people that do ;-)
Quoted 2 lines
Signature · 1 line
Catalin
Signature · 2 lines
Sincerely yours, Mike.
Catalin Marinas
maintainerQuoted 9 lines · Mike Rapoport
Quoted 5 lines · Catalin Marinas
On Mon, May 01, 2023 at 04:24:38PM -0500, Justin Forbes wrote:
Regarding EXPERT, we could drop it and do like the other architectures but we'll have randconfig occasionally hitting weird values that won't build (like -1). Not sure EXPERT helps here.
AFAIU, randconfig does not randomize int values, it's probably random people that do ;-)
https://lore.kernel.org/r/[email protected]
with the randconfig here:
https://download.01.org/0day-ci/archive/20230323/[email protected]/config
That said, it would fail on other architectures as well, maybe they are just not wired up in the build machines.
Signature · 1 line
Catalin
Catalin Marinas
maintainerQuoted 8 lines · Catalin Marinas
Quoted 7 lines · Mike Rapoport
Quoted 5 lines · Catalin Marinas
On Mon, May 01, 2023 at 04:24:38PM -0500, Justin Forbes wrote:
Regarding EXPERT, we could drop it and do like the other architectures but we'll have randconfig occasionally hitting weird values that won't build (like -1). Not sure EXPERT helps here.
Quoted 8 lines
Quoted 2 lines
AFAIU, randconfig does not randomize int values, it's probably random people that do ;-)
https://lore.kernel.org/r/[email protected]
with the randconfig here:
https://download.01.org/0day-ci/archive/20230323/[email protected]/config
You may be right, I can't get my randconfig to set ARCH_FORCE_MAX_ORDER to anything other than the default. Maybe the kernel test robot has its own config randomisation (cc'ing [email protected]).
If we don't care about about this randconfig, I'm fine do drop EXPERT from current mainline, together with the 4K/16K pages condition. The condition only made sense if we kept the ranges in since these were configurable (no range for 64K).
arch/arm64/Kconfig +1 -1
@@ -1516,7 +1516,7 @@ config XEN # 16K | 27 | 14 | 13 | 11 | # 64K | 29 | 16 | 13 | 13 | config ARCH_FORCE_MAX_ORDER - int "Order of maximal physically contiguous allocations" if EXPERT && (ARM64_4K_PAGES || ARM64_16K_PAGES) + int "Order of maximal physically contiguous allocations" default "13" if ARM64_64K_PAGES default "11" if ARM64_16K_PAGES default "10"
Signature · 1 line
Catalin
Quoted 14 lines · Catalin Marinas
Quoted 13 lines · Catalin Marinas
Quoted 9 lines · Mike Rapoport
Quoted 5 lines · Catalin Marinas
On Mon, May 01, 2023 at 04:24:38PM -0500, Justin Forbes wrote:
Regarding EXPERT, we could drop it and do like the other architectures but we'll have randconfig occasionally hitting weird values that won't build (like -1). Not sure EXPERT helps here.
AFAIU, randconfig does not randomize int values, it's probably random people that do ;-)
Quoted 7 lines
Quoted 3 lines
with the randconfig here:
https://download.01.org/0day-ci/archive/20230323/[email protected]/config
You may be right, I can't get my randconfig to set
ARCH_FORCE_MAX_ORDERto anything other than the default. Maybe the kernel test robot has its own config randomisation (cc'ing [email protected]).
Really appologize here, around Mar 23 time period, there's a bug in kernel test robot code which wrongly set the value of ARCH_FORCE_MAX_ORDER to -1. We fixed it after noticing this, and replied to the false positive reports we sent out. But we missed to reply this report to point out it was invalid report.
Sorry about this again, pls ignore this report.
Quoted 22 lines
If we don't care about about this randconfig, I'm fine do drop EXPERT from current mainline, together with the 4K/16K pages condition. The condition only made sense if we kept the ranges in since these were configurable (no range for 64K).
arch/arm64/Kconfig +1
-1@@ -1516,7 +1516,7 @@ config XEN # 16K | 27 | 14 | 13 | 11 | # 64K | 29 | 16 | 13 | 13 | config ARCH_FORCE_MAX_ORDER - int "Order of maximal physically contiguous allocations" if EXPERT && (ARM64_4K_PAGES || ARM64_16K_PAGES) + int "Order of maximal physically contiguous allocations" default "13" if ARM64_64K_PAGES default "11" if ARM64_16K_PAGES default "10"Signature · 2 lines
-- Catalin