WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] PoD: Check refcount, not type count when reclaiming zero pages
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=l34K+Y3kllk+JdM15ioNMT/En6wdifbr29uJW8HwIOc=; b=BEevIJWuHDTmuvWyaVTHat2J6EeyVpiVzk9NewinaA/Z72anbzeyvwUSq2n/FbnQJq 3txnkqq3TMiDvWKt9Q0/bZjwp4oVnAUFaQbovtGWf1lHLdo+gHyd9hpoH8bmWQvyFnEu SarXXr+m+uqoiIQAUL44At+xD/l2OiQHbIbDU=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] PoD: Check refcount, not type count when reclaiming zero pages, George Dunlap <=