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

Fwd: [Xen-devel] do_mmu_update

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Fwd: [Xen-devel] do_mmu_update
From: "Furquan Shaikh" <furquan.m.shaikh@xxxxxxxxx>
Date: Tue, 13 Jan 2009 17:41:52 +0530
Delivery-date: Tue, 13 Jan 2009 04:12:24 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=LM6g7Hbm7RIKBCXVexhxJ5ANHoMV6yU6qrBj3t9qHm8=; b=CuedvR7ChzGI+iyUQeGLf1kUBzrLSXren+P2PHybdhycj2XFjImoaiFy5ztDmG2iAW TSWIIltvxS5Vi0IvLR9FAo/Sjc9OCj4chP7mguKLVroGSaE5TQUjh46qNe5CJJPiiclN wp2LS3f/ZRbHr+H39RKj/XOpQtAUDJxi4QNCM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=hF+oJqT+BHrA9dWlt1dip8gi2KPQQEuj9kLicjn+YMEHw8BYmkUm8JBblPrcgQsr0B cK5tuJXLY1CE9si2Q9J4NzdVBIicfZHgl1mDWixAf+aQMAdgRl3T1TOZZr7ugX+Tj/+g WmmRx/1cm11s500EZpTq7GX0xhZNfTaewkV6o=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <b8ef0f060901130411u4ce39639y82d93cc3ecf78d69@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/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>
References: <b8ef0f060901130120h5c4d2905n9e4bfe2b052df078@xxxxxxxxxxxxxx> <c78d42d0901130356v71a7fb45n8a8e104331b9ed61@xxxxxxxxxxxxxx> <b8ef0f060901130411u4ce39639y82d93cc3ecf78d69@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx


Can you please explain a bit more about it? Isnt this the default for the switch case where matches with any of the l1, l2, l3 are not found. what does this default of not_a_pt signify

Thanks,
Furquan


On Tue, Jan 13, 2009 at 5:26 PM, gkkkk kgv <gkcdri@xxxxxxxxx> wrote:
Hello,
       not_a_pt this one will decide that whether before writing to the mmu ,the page type is matching all the conditions or not.

 

Thanks
vijay
 


On Tue, Jan 13, 2009 at 5:20 PM, Furquan Shaikh <furquan.m.shaikh@xxxxxxxxx> wrote:
Hello friends,
Can anyone please tell me what the not_a_pt: label in do_mmu_update used for?

default:
not_a_pt:
                    {
                        if ( unlikely(!get_page_type(page, PGT_writable_page)) )
                                    break;

                        perfc_incr(writable_mmu_updates);
                        okay = paging_write_guest_entry(v, va, req.val, _mfn(mfn));
   
                        put_page_type(page);
                    }
                    break;
               

Regards,
Furquan

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




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>