xen/xenpaging.populate_only_if_paged.patch
Charles Arnold 0c76f22ef1 - Update to Xen 4.0.2 rc2-pre, changeset 21443
- bnc#633573 - System fail to boot after running several warm
  reboot tests
  22749-vtd-workarounds.patch
- Upstream patches from Jan
  22744-ept-pod-locking.patch
  22777-vtd-ats-fixes.patch
  22781-pod-hap-logdirty.patch
  22782-x86-emul-smsw.patch
  22789-i386-no-x2apic.patch
  22790-svm-resume-migrate-pirqs.patch
  22816-x86-pirq-drop-priv-check.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=94
2011-02-04 21:19:54 +00:00

31 lines
1.0 KiB
Diff

Subject: xenpaging: populate paged-out pages unconditionally
Populate a page unconditionally to avoid missing a page-in request.
If the page is already in the process of being paged-in, the this vcpu
will be stopped and later resumed once the page content is usable again.
This matches other p2m_mem_paging_populate usage in the source tree.
(xen-unstable changeset: 22437:9a9bcf399856)
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
xen/common/grant_table.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Index: xen-4.0.2-testing/xen/common/grant_table.c
===================================================================
--- xen-4.0.2-testing.orig/xen/common/grant_table.c
+++ xen-4.0.2-testing/xen/common/grant_table.c
@@ -156,8 +156,7 @@ static int __get_paged_frame(unsigned lo
*frame = mfn_x(mfn);
if ( p2m_is_paging(p2mt) )
{
- if ( p2m_is_paged(p2mt) )
- p2m_mem_paging_populate(rd, gfn);
+ p2m_mem_paging_populate(rd, gfn);
rc = GNTST_eagain;
}
}