[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH] x86/mm: Improve ring management for memory events. Do not lose guest events
On Mon, Jan 16, Olaf Hering wrote:
> I will prepare a patch to improve the check wether the ring is
> available. As you said, it can disappear any time.
Your changes to mem_event_disable() already contain the changes I would
have made as well, making changes only with the ring lock held.
Minor detail:
In mem_event_enable(), the call to mem_event_ring_lock_init() should be
moved up before the pointers are assigned to close the tiny window
between lock init and assignment.
Olaf
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|