This came about from reviewing Petre's "Per vcpu vm_event channels" while sat
in an airport with plenty of time to kill. This started with patch 4 trying
to get rid of the "k = i % d->max_vcpus;" expression, but see patch 4 for
further details of why it has stayed.
Everything else was either ancillary cleanup I noticed while reviewing, or
issues where were copied/moved/extended during the series.
This series can be obtained in git form from:
There are no large functional changes, but it should be a better base to
refactor the interface from.
Andrew Cooper (5):
xen/vm-event: Drop unused u_domctl parameter from vm_event_domctl()
xen/vm-event: Expand vm_event_* spinlock macros and rename the lock
xen/vm-event: Remove unnecessary vm_event_domain indirection
xen/vm-event: Fix interactions with the vcpu list
xen/vm-event: Misc fixups
xen/common/domctl.c | 6 +-
xen/common/vm_event.c | 199 +++++++++++++++++++++------------------------
xen/include/xen/sched.h | 3 +-
xen/include/xen/vm_event.h | 3 +-
4 files changed, 96 insertions(+), 115 deletions(-)
Xen-devel mailing list