x86/mm: remove the linear mapping of the p2m tables.
authorTim Deegan <tim@xen.org>
Thu, 13 Sep 2012 15:41:33 +0000 (16:41 +0100)
committerTim Deegan <tim@xen.org>
Thu, 13 Sep 2012 15:41:33 +0000 (16:41 +0100)
commitc622876000c5fdded9d546b93bf9cbbca9cdb081
treea887c8d8c97af36cbc049e785f7ea2cdba80236c
parentf28cf4d6ce350ff364d1e9e2cce0e93025a5e372
x86/mm: remove the linear mapping of the p2m tables.

Mapping the p2m into the monitor tables was an important optimization
on 32-bit builds, where it avoided mapping and unmapping p2m pages
during a walk.  On 64-bit it makes no difference -- see
http://old-list-archives.xen.org/archives/html/xen-devel/2010-04/msg00981.html
Get rid of it, and use the explicit walk for all lookups.

Signed-off-by: Tim Deegan <tim@xen.org>
Committed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/hap/hap.c
xen/arch/x86/mm/p2m-pt.c
xen/arch/x86/mm/shadow/multi.c
xen/include/asm-x86/p2m.h