[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] tools/xenpaging: call pageout policy function in xenpaging_evict_page
# HG changeset patch # User Olaf Hering <olaf@xxxxxxxxx> # Date 1282671205 -3600 # Node ID 1bd1ba6f1aa4ad99df10c84795673ff97a448190 # Parent 1deee01bbfa411f2dfc7ede677b05e8e77b83b93 tools/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. Signed-off-by: Olaf Hering <olaf@xxxxxxxxx> Acked-by: Patrick Colp <pjcolp@xxxxxxxxx> Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- tools/xenpaging/xenpaging.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r 1deee01bbfa4 -r 1bd1ba6f1aa4 tools/xenpaging/xenpaging.c --- a/tools/xenpaging/xenpaging.c Tue Aug 24 18:30:07 2010 +0100 +++ b/tools/xenpaging/xenpaging.c Tue Aug 24 18:33:25 2010 +0100 @@ -363,8 +363,8 @@ int xenpaging_evict_page(xc_interface *x 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; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |