Re: [4/7] Xen VMM patch set : /dev/mem io_remap_page_range forCONFIG_XEN

From: Arjan van de Ven
Date: Tue Nov 30 2004 - 04:10:54 EST


On Tue, 2004-11-30 at 08:56 +0000, Ian Pratt wrote:

> In the Xen case, we actually need to use io_remap_page_range for
> all /dev/mem accesses, so as to be able to map the BIOS area, DMI
> tables etc.
>

look at the /dev/mem patches in the -mm tree... there might be
infrastructure there that is useful to you


> I wasn't sure how best to handle the fact that /dev/kmem shared
> its mmap implementation with /dev/mem. BTW: Does anyone know of
> any programs that make use of mmap'ing /dev/kmem?

effectively nothing uses /dev/kmem; you might as well just remove it
entirely and/or not provide it in Xen.


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