Re: Mapping large framebuffers into kernel space

From: Alan Cox
Date: Sun Sep 07 2003 - 17:27:22 EST


On Sul, 2003-09-07 at 22:18, Jon Smirl wrote:
> Is there something preventing kernel framebuffers from being mapped to the high
> end of the 4GB kernel address space? Or do they have to be mapped below 1GB?
> Framebuffer access isn't that performance sensitive, after all it is on the PCI bus.

The kernel has 4Gb of virtual address space. Because of the way x86
works it really wants to keep the user map, the view of main memory and
io mappings visible at once. For larger objects you have to use kmap and
map them through a window (anyone remember they joys of EMS). On 64bit
this of course all goes away

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