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

Re: [Xen-devel] Meaning of PG_foreign

To: Jacob Gorm Hansen <jacobg@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Meaning of PG_foreign
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 06 Oct 2006 11:24:42 +0100
Delivery-date: Fri, 06 Oct 2006 03:25:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <e08041f30610060254r5fa66407le42bd51311aa80e0@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbpMaLD4UoPUFUkEduvTAAX8io7RQ==
Thread-topic: [Xen-devel] Meaning of PG_foreign
User-agent: Microsoft-Entourage/11.2.5.060620
On 6/10/06 10:54, "Jacob Gorm Hansen" <jacobg@xxxxxxx> wrote:

> can I count on all pages in a domU that are changed by Xen, backend
> drivers, or writable pagetable magic, being marked as PG_foreign?

I'm not sure what you mean by 'changed'. But I expect you misunderstand the
meaning of PG_foreign anyway. What it means is 'foreign' from the
point-of-view of Linux's buddy allocator -- i.e., it is a page that actually
comes from a different allocator, which is wanting to hook off of
free_pages(). It doesn't (necessarily) mean that the page is actually from a
foreign virtual machine.

 -- Keir



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

<Prev in Thread] Current Thread [Next in Thread>