|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 05/16] x86/monitor: relocate code more appropriately
On 7/12/2016 11:07 AM, Corneliu ZUZU wrote: On 7/12/2016 10:45 AM, Tian, Kevin wrote:From: Corneliu ZUZU [mailto:czuzu@xxxxxxxxxxxxxxx] Sent: Monday, July 11, 2016 2:19 PM+static inline+void monitor_ctrlreg_adjust_traps(struct domain *d, unsigned int index) I've decided to discard separating CR3 load-exiting handling (i.e. discard vmx_vm_event_update_cr3_traps) entirely since I find that it's complicated to have to handle the bit from 2 different places (vmx_update_guest_cr and arch_monitor_domctl_event). Normally such a situation is resolved by counting the number of subscribers to the resource (in this case counting the number of 'entities' that want to CR3 load-exiting enabled - i.e. just as we have a vCPU pause_count to count entities that want the vCPU to be paused), but it's just a single bit of a lot more and I don't think the overhead is worth. Let me know if you disagree and I'm open to suggestions, if you guys have any. Thanks, Corneliu. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |