* Allocator MAX_ORDER exceeds SECTION_SIZE
@ 2010-01-10 13:31 Michael Buesch
2010-01-10 18:15 ` Michael Buesch
0 siblings, 1 reply; 3+ messages in thread
From: Michael Buesch @ 2010-01-10 13:31 UTC (permalink / raw)
To: linuxppc-dev
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?
--
Greetings, Michael.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Allocator MAX_ORDER exceeds SECTION_SIZE
2010-01-10 13:31 Allocator MAX_ORDER exceeds SECTION_SIZE Michael Buesch
@ 2010-01-10 18:15 ` Michael Buesch
2010-01-10 20:39 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 3+ messages in thread
From: Michael Buesch @ 2010-01-10 18:15 UTC (permalink / raw)
To: linuxppc-dev; +Cc: linuxppc-dev
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 Allocator MAX_ORDER exceeds SECTION_SIZE
>
> Any 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.
--
Greetings, Michael.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Allocator MAX_ORDER exceeds SECTION_SIZE
2010-01-10 18:15 ` Michael Buesch
@ 2010-01-10 20:39 ` Benjamin Herrenschmidt
0 siblings, 0 replies; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2010-01-10 20:39 UTC (permalink / raw)
To: Michael Buesch; +Cc: linuxppc-dev, linuxppc-dev
On Sun, 2010-01-10 at 19:15 +0100, Michael Buesch wrote:
> 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 Allocator MAX_ORDER exceeds SECTION_SIZE
> >
> > Any 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.
There's some stuff in there to try to change the max order but KConfig
never quite get it right I think.
Cheers,
Ben.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-01-10 20:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-10 13:31 Allocator MAX_ORDER exceeds SECTION_SIZE Michael Buesch
2010-01-10 18:15 ` Michael Buesch
2010-01-10 20:39 ` Benjamin Herrenschmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).