linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: Do not depend on MAX_ORDER when grouping pages by mobility
@ 2007-11-12  2:21 Stephen Rothwell
  2007-11-12 15:54 ` Mel Gorman
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Rothwell @ 2007-11-12  2:21 UTC (permalink / raw)
  To: Mel Gorman; +Cc: ppc-dev

[-- Attachment #1: Type: text/plain, Size: 1034 bytes --]

Hi Mel,

I discovered recently that a kernel built with ppc64_defconfig no longer
boots on legacy iSeries.  It did in 2.6.23.  I bisected down the commit
d9c2340052278d8eb2ffb16b0484f8f794def4de ("Do not depend on MAX_ORDER
when grouping pages by mobility") which fails while its parent is ok.
Also, an iseries_defconfig kernel will boot.  The reason it seem is
because on PowerPC 64 with CONFIG_HUGETLB_PAGE, HPAGE_SHIFT is not
constant and its value is determined at runtime early.

For legacy iSeries HPAGE_SHIFT remains 0 which means that
HUGETLB_PAGE_ORDER becomes -PAGE_SHIFT and things degenerate badly.

I can enable CONFIG_HUGETLB_PAGE_SIZE_VARIABLE for PowerPC 64, but I
still need to know a good value for HPAGE_SHIFT.  Do you have a
suggestion?  Is there a better way to fix this problem?  There are places
in the PowerPC code that assume that HPAGE_SHIFT == 0 means that we have
no huge pages.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-11-15 10:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-12  2:21 Do not depend on MAX_ORDER when grouping pages by mobility Stephen Rothwell
2007-11-12 15:54 ` Mel Gorman
2007-11-13  0:44   ` Stephen Rothwell
2007-11-14 18:10     ` Mel Gorman
2007-11-15  3:17       ` Stephen Rothwell
2007-11-15 10:13         ` Mel Gorman

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).