Re: HOLES_IN_ZONE...
From: David Miller
Date: Thu Feb 05 2009 - 04:21:51 EST
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
Date: Thu, 5 Feb 2009 18:06:17 +0900
> @@ -2632,7 +2633,8 @@ void __meminit memmap_init_zone(unsigned
> if (context == MEMMAP_EARLY) {
> if (!early_pfn_valid(pfn))
> continue;
> - if (!early_pfn_in_nid(pfn, nid))
> + tmp = early_pfn_in_nid(pfn, nid);
> + if (tmp > -1 && tmp != nid)
early_pfn_in_nid() returns true or false, not the found nid
I think you meant to change this to call early_pfn_to_nid()
I'll make that correction and test your patch.
BTW, if you make that conversion there is no need for
early_pfn_in_nid() since there will be no other users.
--
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/