0c76f22ef1
- 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
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
Subject: xenpaging: call pageout policy function in xenpaging_evict_page
|
|
|
|
Notify policy about a page that was just paged out to disk.
|
|
Up to now the code called the opposite function, which clears the
|
|
(xenpaging internal) reference bit, instead of setting it and marking
|
|
the page as gone.
|
|
|
|
(xen-unstable changeset: 22064:1bd1ba6f1aa4)
|
|
Signed-off-by: Olaf Hering <olaf@aepfle.de>
|
|
Already-Acked-by: Patrick Colp <pjcolp@cs.ubc.ca>
|
|
|
|
---
|
|
tools/xenpaging/xenpaging.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
Index: xen-4.0.2-testing/tools/xenpaging/xenpaging.c
|
|
===================================================================
|
|
--- xen-4.0.2-testing.orig/tools/xenpaging/xenpaging.c
|
|
+++ xen-4.0.2-testing/tools/xenpaging/xenpaging.c
|
|
@@ -359,8 +359,8 @@ int xenpaging_evict_page(xenpaging_t *pa
|
|
goto out;
|
|
}
|
|
|
|
- /* Notify policy of page being paged in */
|
|
- policy_notify_paged_in(paging->mem_event.domain_id, victim->gfn);
|
|
+ /* Notify policy of page being paged out */
|
|
+ policy_notify_paged_out(paging->mem_event.domain_id, victim->gfn);
|
|
|
|
out:
|
|
return ret;
|