Re: mmotm 2011-06-15-16-56 uploaded (mm/page_cgroup.c)

From: Mel Gorman
Date: Fri Jun 17 2011 - 03:56:21 EST

On Thu, Jun 16, 2011 at 11:46:04AM -0700, Dave Hansen wrote:
> On Thu, 2011-06-16 at 17:51 +0100, Mel Gorman wrote:
> > No, why was node_start_pfn() and node_end_pfn() defined optionally
> > on a per-architecture basis?
> Probably because it started in the NUMA-Q port, and we were still trying
> to stay off the radar at that point. It looks like it showed up in
> ~2.5.[3-4]?. We didn't know what the heck we were doing back then, and
> it probably leaked out from under CONFIG_NUMA/DISCONTIGMEM at some
> point.
> Seems like a good thing to consolidate to me. Especially since it's
> just a shortcut to the (unconditionally defined) structure member, I
> can't see a real justification for needing different definitions.

Great. Thanks Dave.

Mel Gorman
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at