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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux