Use gfn_to_mfn_query() rather then gfn_to_mfn() when changing P2M types
PATCH 1/1 Use gfn_to_mfn_query() rather then gfn_to_mfn() when changing P2M types
Use gfn_to_mfn_query() rather then gfn_to_mfn() when changing P2M types since we do not really want to force a PoD allocation as a side effect.
Signed-off-by Paul Durrant <[email protected]>
xen/arch/x86/mm/p2m.c +1 -1
@@ -2557,7 +2557,7 @@p2m_lock (d->arch.p2m); - mfn =gfn_to_mfn (d, gfn, &pt); + mfn =gfn_to_mfn_query (d, gfn, &pt);if ( pt == ot )set_p2m_entry (d, gfn, mfn,0 , nt);
Use gfn_to_mfn_query() rather then gfn_to_mfn() when changing P2M types since we do not really want to force a PoD allocation as a side effect.
Signed-off-by Paul Durrant <[email protected]>
xen/arch/x86/mm/p2m.c +1 -1
@@ -2557,7 +2557,7 @@p2m_lock (d->arch.p2m); - mfn =gfn_to_mfn (d, gfn, &pt); + mfn =gfn_to_mfn_query (d, gfn, &pt);if ( pt == ot )set_p2m_entry (d, gfn, mfn,0 , nt);
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel