From: David Vrabel Date: Mon, 9 Jul 2012 10:39:06 +0000 (+0100) Subject: xen/mm: zero PTEs for non-present MFNs in the initial page table X-Git-Tag: v3.6-rc1~123^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66a27dde9ae96e35278983f2e59bea04eb714cd0;p=pandora-kernel.git xen/mm: zero PTEs for non-present MFNs in the initial page table When constructing the initial page tables, if the MFN for a usable PFN is missing in the p2m then that frame is initially ballooned out. In this case, zero the PTE (as in decrease_reservation() in drivers/xen/balloon.c). This is obviously safe instead of having an valid PTE with an MFN of INVALID_P2M_ENTRY (~0). Signed-off-by: David Vrabel Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed