Re: Reading /dev/mem by dd

From: Alan Cox
Date: Tue Feb 16 2010 - 07:32:19 EST


> how does X11 get now direct access to the physical memory (instead of
> /dev/mem) ?

Via frame buffer devices.

If you think about things like hot-plug it's rather hard to do frame
buffer access any other way. The rules on memory types and aliasing also
make it nearly impossible to do properly with /dev/mem on a modern CPU.

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