Re: [PATCH] x86: trim ram need to check if mtrr is there v2

From: H. Peter Anvin
Date: Fri Jan 25 2008 - 00:53:40 EST


Yinghai Lu wrote:
H. Peter Anvin wrote:
Looks like the code doesn't check that the CPU *has* MTRRs...

so check it mtrr is there, also check if mem less 4G and is AMD as early

Why the check for < 4 GB? The same thing applies to memory below the 4 GB limit -- in fact, we've had a number of that kind of systems in the past.

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