From: "Furquan Shaikh" Subject: Fwd: do_mmu_update Date: Tue, 13 Jan 2009 17:41:52 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1823332425==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1823332425== Content-Type: multipart/alternative; boundary="----=_Part_253993_10045838.1231848712600" ------=_Part_253993_10045838.1231848712600 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 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@gmail.com> 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@lists.xensource.com >> http://lists.xensource.com/xen-devel >> >> > ------=_Part_253993_10045838.1231848712600 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

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@gmail.com> 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@gmail.com> 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@lists.xensource.com
http://lists.xensource.com/xen-devel




------=_Part_253993_10045838.1231848712600-- --===============1823332425== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1823332425==--