[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] monitor access to pages with a specific p2m_type_t
Yes, p2m_ram_shared type pages can be monitored with mem_access just as normal pages. The only part that may be tricky is if you map the page into your monitoring application while the page is shared. Your handle will continue to be valid even if the page is unshared but it will continue to point to the shared page. However, even if you catch write access events to the shared page that will lead to unsharing, the mem_access notification is sent before unsharing. I just usually do unsharing myself in the mem_access callback manually for monitored pages for this reason. I might change the flow in 4.8 to send the notification after the unsharing happened to simplify this. Tamas _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |