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

[Xen-devel] [PATCH] PoD: Check refcount, not type count when reclaiming zero pages


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
  • Date: Thu, 29 Jan 2009 16:20:59 +0000
  • Cc:
  • Delivery-date: Thu, 29 Jan 2009 08:21:32 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=V0I43Kt4TihycJHzZL9w6csKvp2hcwrCvM1PTdtXsthtemhXJNYr3zk8Q4nxu4pzaZ KoGxFyButMyGqYjEtwacVS7sJ46vgGnmvecY6w+YOBOZL+ye+Ap9hEGo9UCxyy2IjRem 4hzTELr8oI5WZuiIkj18gtICW9JhvrMSnhnRI=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Check the page refcount rather than the type count when deciding if a
page is still mapped.

This catches pages which are mapped by qemu; it also removes the need
for gnttab_is_granted().

Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

Attachment: pod.check-refcount.diff
Description: Text Data

_______________________________________________
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®.