From: Juergen Gross Date: Mon, 12 Jan 2015 05:05:08 +0000 (+0100) Subject: xen: correct race in alloc_p2m_pmd() X-Git-Tag: fixes-v4.0-rc1~304^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f241b0b891c903da2465b7a98eaf650784e666da;p=pandora-kernel.git xen: correct race in alloc_p2m_pmd() When allocating a new pmd for the linear mapped p2m list a check is done for not introducing another pmd when this just happened on another cpu. In this case the old pte pointer was returned which points to the p2m_missing or p2m_identity page. The correct value would be the pointer to the found new page. Signed-off-by: Juergen Gross Signed-off-by: David Vrabel --- Reading git-diff-tree failed