Re: [BUG] [PATCH v2] Make setup_zone_migrate_reserve() aware of overlapping nodes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andy Whitcroft
Date: Tuesday, August 26, 2008 - 2:29 am

On Thu, Aug 21, 2008 at 12:33:39PM +0100, Mel Gorman wrote:

This patch looks sane.  I do note that we have a config option to tell
us whether we have any possibility of overlapping nodes, and we have an
early version of a check for this early_pfn_in_nid() in mm.h.  You might
consider having a non-early variant of this which could be optimised
away for those arches which do not have CONFIG_NODES_SPAN_OTHER_NODES.

In 'unearlifying' this to pfn_in_nid() I think we have a small naming
issue with these function as they are only valid for use with pfns within
an existing node.  They should probabally both be *pfn_in_nid_within()
or something in line with pfn_valid_within().

-apw
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[BUG] __GFP_THISNODE is not always honored, Adam Litke, (Fri Aug 15, 3:01 pm)
Re: [BUG] __GFP_THISNODE is not always honored, Mel Gorman, (Mon Aug 18, 3:59 am)
Re: [BUG] __GFP_THISNODE is not always honored, Adam Litke, (Mon Aug 18, 11:16 am)
Re: [BUG] __GFP_THISNODE is not always honored, Christoph Lameter, (Mon Aug 18, 12:14 pm)
Re: [BUG] __GFP_THISNODE is not always honored, Christoph Lameter, (Mon Aug 18, 12:21 pm)
Re: [BUG] __GFP_THISNODE is not always honored, Mel Gorman, (Mon Aug 18, 12:52 pm)
Re: [BUG] __GFP_THISNODE is not always honored, Mel Gorman, (Mon Aug 18, 12:57 pm)
Re: [BUG] [PATCH v2] Make setup_zone_migrate_reserve() awa ..., Andy Whitcroft, (Tue Aug 26, 2:29 am)