Allocator MAX_ORDER exceeds SECTION_SIZE
I get the following compilation failure, if 64k pages is selected on 2.6.32.3 on a PowerMAC config:
include/linux/mmzone.h:947:2: error: #error Allocator MAX_ORDER exceeds SECTION_SIZE
Any idea?
Signature · 1 line
Greetings, Michael.
Quoted 7 lines · On Sunday 10 January 2010 14:31:09 Michael Buesch wrote:
I get the following compilation failure, if 64k pages is selected on 2.6.32.3 on a PowerMAC config:
include/linux/mmzone.h:947:2: error: #error AllocatorMAX_ORDERexceedsSECTION_SIZEAny idea?
Ok, I figured out that lowering CONFIG_FORCE_MAX_ZONEORDER from 13 to 9
seems to fix the problem.
That error message could really need some improvement and at least a hint on what to do and why.
I'm also wondering, if the kconfig entry for CONFIG_FORCE_MAX_ZONEORDER could somehow be limited to 9, if 64k pages is enabled.
Signature · 1 line
Greetings, Michael.
Quoted 9 lines · Michael Buesch
Quoted 7 lines · On Sunday 10 January 2010 14:31:09 Michael Buesch wrote:
I get the following compilation failure, if 64k pages is selected on 2.6.32.3 on a PowerMAC config:
include/linux/mmzone.h:947:2: error: #error AllocatorMAX_ORDERexceedsSECTION_SIZEAny idea?
Quoted 6 lines
Ok, I figured out that lowering
CONFIG_FORCE_MAX_ZONEORDERfrom 13 to 9
seems to fix the problem.
That error message could really need some improvement and at least a hint on what to do and why.I'm also wondering, if the kconfig entry for
CONFIG_FORCE_MAX_ZONEORDERcould somehow be limited to 9, if 64k pages is enabled.
There's some stuff in there to try to change the max order but KConfig never quite get it right I think.
Cheers,
Ben.