Skip to contentSkip to conversation

do_mmu_update

DISCUSSION Furquan Shaikh 2 participants 3 messages Jan 13, 2009 – Jan 16, 2009 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

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
[email protected]
http://lists.xensource.com/xen-devel

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

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

Quoted 4 lines · gkkkk kgv

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

Quoted 39 lines

**
Thanks
vijay

Quoted 29 lines · Furquan Shaikh

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
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw
Quoted 3 lines · Furquan Shaikh

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