Re: [PATCH] Fix sys_move_pages when a NULL node list is passed.

From: KAMEZAWA Hiroyuki
Date: Tue Nov 07 2006 - 20:56:59 EST


On Fri, 3 Nov 2006 14:42:43 +1100
Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:

> + } else
> + pm[i].node = 0; /* anything to not match MAX_NUMNODES */
> }
> /* End marker */
> 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 */

maybe.

-Kame

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/