[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Removing shadow_tainted_refcnts()

  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Khoa Huynh <khoa@xxxxxxxxxx>
  • Date: Mon, 17 Oct 2005 17:11:23 -0400
  • Delivery-date: Mon, 17 Oct 2005 21:08:53 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

In the shadow mode, thanks to recent patches, the shadow
reference counts (both general counts and type counts)
are now correct in all of my testing so far.  As a result,
we should remove the shadow_tainted_refcnt flag from
the domain structure.  Leaving this flag in place would
create confusion for programmers and would also prevent
future debugging of problems in handling general and type
reference counts in the shadow mode.  In addition, the
patch also (1) drops the requirement that shadow_mode_disable()
should only be called in the domain destruction sequence
(even though it is only used that way so far), and
(2) strictly assert that the type reference count must
be 0 when we free a page from the dom heap.

Comments are welcome.  Thanks!



(See attached file: tainted_refcnt_removal.patch)

Attachment: tainted_refcnt_removal.patch
Description: Binary data

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.