mbox series

[0/5] xen/vm-event: Cleanup

Message ID 1559564728-17167-1-git-send-email-andrew.cooper3@citrix.com (mailing list archive)
Headers show
Series xen/vm-event: Cleanup | expand

Message

Andrew Cooper June 3, 2019, 12:25 p.m. UTC
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:

  http://xenbits.xen.org/gitweb/?p=people/andrewcoop/xen.git;a=shortlog;h=refs/heads/vmevent-cleanup-v1

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(-)