[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] tmem: fix minor accounting error
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1245147512 -3600 # Node ID f649dd4454af51d104098af918ef9aa1e1835172 # Parent 8373971089a7342bbd76e33124887e977095ef09 tmem: fix minor accounting error Reset a counter when all tmem pages are released. This only affects status reporting (as displayed by xm tmem-list or the just patched xenballoon-monitor) but the incorrectly reported result is misleading. Signed-off-by: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx> --- xen/common/tmem_xen.c | 1 + 1 files changed, 1 insertion(+) diff -r 8373971089a7 -r f649dd4454af xen/common/tmem_xen.c --- a/xen/common/tmem_xen.c Tue Jun 16 11:17:28 2009 +0100 +++ b/xen/common/tmem_xen.c Tue Jun 16 11:18:32 2009 +0100 @@ -202,6 +202,7 @@ EXPORT void tmh_release_avail_pages_to_h { scrub_list_splice(&tmh_page_list); INIT_PAGE_LIST_HEAD(&tmh_page_list); + tmh_page_list_pages = 0; } spin_unlock(&tmh_page_list_lock); } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |