xen/mmu: Recycle the Xen provided L4, L3, and L2 pages
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 26 Jul 2012 16:00:56 +0000 (12:00 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 23 Aug 2012 15:52:12 +0000 (11:52 -0400)
commit488f046df922af992c1a718eff276529c0510885
treeb577a74f3a076aa933cecf5a4d849407266fdc8c
parentcaaf9ecf16feffa4f1a5a0d617bc78906a114514
xen/mmu: Recycle the Xen provided L4, L3, and L2 pages

As we are not using them. We end up only using the L1 pagetables
and grafting those to our page-tables.

[v1: Per Stefano's suggestion squashed two commits]
[v2: Per Stefano's suggestion simplified loop]
[v3: Fix smatch warnings]
[v4: Add more comments]
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/mmu.c