Re: [patch] x86, pat: fix reserve_memtype() for legacy 1MB range

From: H. Peter Anvin
Date: Fri Jan 09 2009 - 17:39:24 EST


Suresh Siddha wrote:

Here X is trying to map first 8KB of memory using /dev/mem. Existing
code treats first 0-4KB of memory as non-RAM and 4KB-8KB as RAM. Recent
code changes don't allow to map memory with different attributes
at the same time.


Why was 0-4 KB marked as non-RAM? It is most definitely RAM, and should be WB.

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