]> xenbits.xensource.com Git - xen.git/commit
x86: check paging mode earlier in xenmem_add_to_physmap_one()
authorJan Beulich <jbeulich@suse.com>
Wed, 20 Dec 2017 15:21:03 +0000 (16:21 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 20 Dec 2017 15:21:03 +0000 (16:21 +0100)
commitf2d19fbf5f8b4be973d5d0a67350aed1d977e64e
treeba582874e3896e6f0a3a70d1d963af3323e0d073
parent0baeec64213490b25e25c14e85434adee69592ba
x86: check paging mode earlier in xenmem_add_to_physmap_one()

There's no point in deferring this until after some initial processing,
and it's actively wrong for the XENMAPSPACE_gmfn_foreign handling to not
have such a check at all.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: f38f3dccf1e1a8aabcf57364326fc8f44cddc41a
master date: 2017-11-28 13:14:43 +0100
xen/arch/x86/mm.c