[PATCH] ppc64: Fix bounds checking in new numa code
kravetz at us.ibm.com
Thu Mar 24 05:36:11 EST 2005
On Wed, Mar 23, 2005 at 10:19:48PM +1100, Michael Ellerman wrote:
> I've noticed what I think is an incorrect bounds check in your
> new numa code. Correct me if I'm wrong.
I incorrectly kept that check in from the current/existing code.
You are correct in saying that it is not needed at all. I believe
this check (and the corresponding start/end adjustment) was needed
in the case of coalesced LMBs. In these cases, a single 'LMB'
could span multiple nodes. This issue goes away when just looking
at raw memory blocks.
More information about the Linuxppc64-dev