[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0611071800250.7749@schroedinger.engr.sgi.com>
Date: Tue, 7 Nov 2006 18:01:11 -0800 (PST)
From: Christoph Lameter <clameter@....com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
cc: Stephen Rothwell <sfr@...b.auug.org.au>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
stable@...nel.org, akpm@...l.org
Subject: Re: [PATCH] Fix sys_move_pages when a NULL node list is passed.
On Wed, 8 Nov 2006, KAMEZAWA Hiroyuki wrote:
> > pm[nr_pages].node = MAX_NUMNODES;
>
> I think node0 is always online...but this should be
>
> pm[i].node = first_online_node; // /* any online node */
No it is a marker. The use of any node that is online could lead to a
false determination of the endpoint of the list.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists