]> xenbits.xensource.com Git - xen.git/commit
x86/PoD: skip eager reclaim when possible
authorJan Beulich <jbeulich@suse.com>
Thu, 12 May 2016 16:02:21 +0000 (18:02 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 12 May 2016 16:02:21 +0000 (18:02 +0200)
commit556c69f4efb09dd06e6bce4cbb0455287f19d02e
tree955abcf46bb31209be9be55a000fafe7ab6eb751
parent744fe0347d584f8b80b91ece93ef87e903c41bfa
x86/PoD: skip eager reclaim when possible

Reclaiming pages is pointless when the cache can already satisfy all
outstanding PoD entries, and doing reclaims in that case can be very
harmful to performance when that memory gets used by the guest, but
only to store zeroes there.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
xen/arch/x86/mm/p2m-pod.c