Cc: Pekka Enberg <penberg@...>, <linux-kernel@...>, Christoph Lameter <clameter@...>, Mel Gorman <mel@...>, Nick Piggin <npiggin@...>, Andrew Morton <akpm@...>, Rafael J. Wysocki <rjw@...>, <Yinghai.Lu@...>
Interesting.
I wonder..
So since you don't have NUMA, you have NODES_SHIFT == 0.
That in turn means that NODE_NOT_IN_PAGE_FLAGS is _not_ set.
That, in turn, means that ZONEID_SHIFT does *not* contain SECTIONS_SHIFT.
Is that really what is supposed to happen?
Because then "page_is_buddy()" will not even test the section, as far as I
can tell.
But I'm probably missing something. Why would we not need to test the
section in page_zone_id() when the node ID is in the page flags (but has
zero size)?
Linus
--