[PATCH 1/3] mm: return NUMA_NO_NODE in local_memory_node if zonelists are not setup

Christoph Lameter cl at linux.com
Fri Feb 21 03:05:39 EST 2014


On Wed, 19 Feb 2014, Nishanth Aravamudan wrote:

> We can call local_memory_node() before the zonelists are setup. In that
> case, first_zones_zonelist() will not set zone and the reference to
> zone->node will Oops. Catch this case, and, since we presumably running
> very early, just return that any node will do.

Really? Isnt there some way to avoid this call if zonelists are not setup
yet?


More information about the Linuxppc-dev mailing list