xen: correct race in alloc_p2m_pmd()
authorJuergen Gross <jgross@suse.com>
Mon, 12 Jan 2015 05:05:08 +0000 (06:05 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 12 Jan 2015 10:09:40 +0000 (10:09 +0000)
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 <jgross@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>

No differences found