Re: x86.git: mtrr trimming removes all memory under kvm

From: Andi Kleen
Date: Fri Jan 25 2008 - 05:52:47 EST


Yinghai Lu <Yinghai.Lu@xxxxxxx> writes:
>
> + /* Doesn't apply to memory < 4GB */
> + if (end_pfn <= (0xffffffffUL >> PAGE_SHIFT))
> + return 0;

I don't think this makes sense to move outside the AMD workaround
because the normal MTRRs don't have an implicit hidden 4GB semantics.

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