All of lore.kernel.org
 help / color / mirror / Atom feed
* do_mmu_update
@ 2009-01-13  9:20 Furquan Shaikh
       [not found] ` <c78d42d0901130356v71a7fb45n8a8e104331b9ed61@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Furquan Shaikh @ 2009-01-13  9:20 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 520 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1536 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Fwd: do_mmu_update
       [not found]   ` <b8ef0f060901130411u4ce39639y82d93cc3ecf78d69@mail.gmail.com>
@ 2009-01-13 12:11     ` Furquan Shaikh
  2009-01-16 19:18       ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 3+ messages in thread
From: Furquan Shaikh @ 2009-01-13 12:11 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1284 bytes --]

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
>>
>>
>

[-- Attachment #1.2: Type: text/html, Size: 3266 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fwd: do_mmu_update
  2009-01-13 12:11     ` Fwd: do_mmu_update Furquan Shaikh
@ 2009-01-16 19:18       ` Jeremy Fitzhardinge
  0 siblings, 0 replies; 3+ messages in thread
From: Jeremy Fitzhardinge @ 2009-01-16 19:18 UTC (permalink / raw)
  To: Furquan Shaikh; +Cc: xen-devel

Furquan Shaikh wrote:
>
>
> 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

You can use do_mmu_update to write a pte entry in a page which is not 
(yet) considered to be a pagetable.

    J

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-01-16 19:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-13  9:20 do_mmu_update Furquan Shaikh
     [not found] ` <c78d42d0901130356v71a7fb45n8a8e104331b9ed61@mail.gmail.com>
     [not found]   ` <b8ef0f060901130411u4ce39639y82d93cc3ecf78d69@mail.gmail.com>
2009-01-13 12:11     ` Fwd: do_mmu_update Furquan Shaikh
2009-01-16 19:18       ` Jeremy Fitzhardinge

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.