tmem: minor accounting error
PATCH 1/1 tmem: 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 <[email protected]>
xen/common/tmem_xen.c +1 -0
@@ -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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel