Re: [RESEND PATCH] mm: clear N_HIGH_MEMORY map before se set it again-v2

From: Yinghai Lu
Date: Thu Jun 04 2009 - 12:50:08 EST


Christoph Lameter wrote:
> Ok. The N_HIGH_MEMORY bit is set for all onlines nodes in a loop
> that follows the code you modified. The patch insures that bits do not
> remain set that earlier arch / core code may have set.
>
> Could you make the description clearer?
>

how about

Subject: [PATCH] mm: clear N_HIGH_MEMORY map before se set it again -v3

in case some system strange SRAT table. some kind of small range form some node
or with mem= boot option etc. that node will not be onlined.
In the early checking, the bit in node_states[N_HIGH_MEMORY] for the
node is set even that node has less RAM like 1M.

The N_HIGH_MEMORY bit is set for all onlines nodes in a loop that follows the
code that is modified. The patch insures that bits do not remain set that
earlier arch / core code may have set.

for 64bit N_HIGH_MEMORY == N_NORMAL_MEMORY, so that works for 64 bit too

v3: update description according to Christoph

--
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/