Re: AMD Athlon flags and /proc/cpuinfo

Jeff Garzik (jgarzik@mandrakesoft.com)
Tue, 30 Nov 1999 15:31:52 +0000


David Wragg wrote:
> The K7 has PAT too? Excellent. Now we need PAT support in the kernel,
> so we can start to forget all of the petty restrictions of the
> MTRRs. With sensible PAT support, XFree86 should just be able to do
>
> fd = open("/dev/mem", O_RW);
> mmap(..., WRITE_COMBINING, fd, ...);
>
> to map a linear frame buffer write combining, without any of the
> annoying details that the MTRRs introduce. ioremap should accept
> similar flags.

That is a very cool idea :) It would be nice to extend this idea such
that the kernel tries to use MTRRs, if PAT isn't available.

-- 
Jeff Garzik              | Just once, I wish we would encounter
Building 1024            | an alien menace that wasn't immune to
MandrakeSoft, Inc.       | bullets.   -- The Brigadier, "Dr. Who"

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/