From: Dan Magenheimer Subject: [PATCH] tmem: minor accounting error Date: Thu, 11 Jun 2009 06:53:37 -0700 (PDT) Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="__12447284457818536abhmt009.oracle.com" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org --__12447284457818536abhmt009.oracle.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 --__12447284457818536abhmt009.oracle.com Content-Type: application/octet-stream; name="tmem-accounting.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="tmem-accounting.patch" ZGlmZiAtciA0NDQ4ZmFlNTI1NTMgeGVuL2NvbW1vbi90bWVtX3hlbi5jCi0tLSBhL3hlbi9jb21t b24vdG1lbV94ZW4uYwlNb24gSnVuIDA4IDEyOjI0OjE0IDIwMDkgKzAxMDAKKysrIGIveGVuL2Nv bW1vbi90bWVtX3hlbi5jCVRodSBKdW4gMTEgMDc6NDg6NDYgMjAwOSAtMDYwMApAQCAtMjAyLDYg KzIwMiw3IEBAIEVYUE9SVCB2b2lkIHRtaF9yZWxlYXNlX2F2YWlsX3BhZ2VzX3RvX2gKICAgICB7 CiAgICAgICAgIHNjcnViX2xpc3Rfc3BsaWNlKCZ0bWhfcGFnZV9saXN0KTsKICAgICAgICAgSU5J VF9QQUdFX0xJU1RfSEVBRCgmdG1oX3BhZ2VfbGlzdCk7CisgICAgICAgIHRtaF9wYWdlX2xpc3Rf cGFnZXMgPSAwOwogICAgIH0KICAgICBzcGluX3VubG9jaygmdG1oX3BhZ2VfbGlzdF9sb2NrKTsK IH0K --__12447284457818536abhmt009.oracle.com Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --__12447284457818536abhmt009.oracle.com--