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

Fwd: [Xen-devel] do_mmu_update


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>



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

 


Rackspace

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