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

[Xen-devel] Re: Getting the page fault count for domU



I am thinking of doing something like

1) Add a field "unsigned long page_fault_count" to struct domain defined in
in xen/sched.h

2) Increment this counter mem_paging_domctl(...) defined in
arch/x_86/mm/mem_paging.c for 
               case XEN_DOMCTL_MEM_EVENT_OP_PAGING_EVICT     

I will then access this information is available from within struct
vcpu->domain->page_fault_count.

Please correct me if my chain of thought is wrong or if it is too
simplistic.
Looking forward to your valuable comments 

    thanks
Chintamani



--
View this message in context: 
http://xen.1045712.n5.nabble.com/Getting-the-page-fault-count-for-domU-tp4847541p4853794.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
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®.