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

Re: [Xen-devel] [PATCH] x86: fix domain cleanup


  • To: Jan Beulich <jbeulich@xxxxxxxxxx>
  • From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Date: Tue, 28 Oct 2008 13:03:46 +0000
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 28 Oct 2008 06:04:09 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Ack4/Zx720V+AKTwEd2ghgAX8io7RQ==
  • Thread-topic: [Xen-devel] [PATCH] x86: fix domain cleanup



On 28/10/08 12:47, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

> If we set the simple rule of "Whoever sets PGT_partial must make sure
> he leaves an extra ref pending, and whoever clears PGT_partial must drop
> that reference", we should be fine in my opinion.

Hmmm... you could be right. It sounds better than what we have just now at
least. :-)

 -- Keir

> Also, a preempted get_page_and_type_from_pagenr() drops the general
> reference, and a preempted put_page_and_type() retains it, so to me
> the page state seems to be consistent between the two.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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