All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Improvements to allow refcoutning of DOMCTL_{, un}pausedomain
@ 2014-07-02 13:47 Andrew Cooper
  2014-07-02 13:47 ` [PATCH v2 1/3] xen/atomic: Introduce common atomic header and update includes Andrew Cooper
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Andrew Cooper @ 2014-07-02 13:47 UTC (permalink / raw)
  To: Xen-devel; +Cc: Andrew Cooper

The first patch has no functional change, but introduces a common atomic.h

The second patch introduces new common atomic_t manipulation function

The third patch uses these new common functions as a basis for fixing the
DOMCTL_{,un}pausedomain reference counting issues.

This has been functionally tested on x86, and compile tested on both flavours
of ARM.

Andrew Cooper (3):
  xen/atomic: Introduce common atomic header and update includes
  xen/atomic: Implement atomic_{inc,dec}_bounded()
  xen/common: Properly reference count DOMCTL_{,un}pausedomain
    hypercalls

 xen/arch/x86/apic.c                 |    2 +-
 xen/arch/x86/cpu/mcheck/barrier.h   |    2 +-
 xen/arch/x86/cpu/mcheck/mce.h       |    2 +-
 xen/arch/x86/crash.c                |    2 +-
 xen/arch/x86/domctl.c               |    7 +++---
 xen/arch/x86/i8259.c                |    2 +-
 xen/arch/x86/mm/mem_sharing.c       |    2 +-
 xen/arch/x86/mm/shadow/private.h    |    2 +-
 xen/arch/x86/traps.c                |    2 +-
 xen/common/Makefile                 |    1 +
 xen/common/atomic.c                 |   35 ++++++++++++++++++++++++++++++
 xen/common/domain.c                 |   41 ++++++++++++++++++++---------------
 xen/common/domctl.c                 |    9 ++++----
 xen/common/kexec.c                  |    2 +-
 xen/common/rcupdate.c               |    2 +-
 xen/common/sched_credit.c           |    2 +-
 xen/common/spinlock.c               |    2 +-
 xen/common/timer.c                  |    2 +-
 xen/common/trace.c                  |    2 +-
 xen/drivers/passthrough/arm/smmu.c  |    2 +-
 xen/include/acpi/platform/aclinux.h |    2 +-
 xen/include/asm-x86/atomic.h        |    5 +++++
 xen/include/asm-x86/irq.h           |    2 +-
 xen/include/asm-x86/spinlock.h      |    2 +-
 xen/include/xen/atomic.h            |   26 ++++++++++++++++++++++
 xen/include/xen/gdbstub.h           |    2 +-
 xen/include/xen/sched.h             |   17 +++++++++++----
 xen/xsm/flask/avc.c                 |    2 +-
 28 files changed, 132 insertions(+), 49 deletions(-)
 create mode 100644 xen/common/atomic.c
 create mode 100644 xen/include/xen/atomic.h

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-07-02 14:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-02 13:47 [PATCH v2 0/3] Improvements to allow refcoutning of DOMCTL_{, un}pausedomain Andrew Cooper
2014-07-02 13:47 ` [PATCH v2 1/3] xen/atomic: Introduce common atomic header and update includes Andrew Cooper
2014-07-02 14:01   ` Jan Beulich
2014-07-02 14:07     ` Andrew Cooper
2014-07-02 13:47 ` [PATCH v2 2/3] xen/atomic: Implement atomic_{inc, dec}_bounded() Andrew Cooper
2014-07-02 14:05   ` Jan Beulich
2014-07-02 14:17     ` Andrew Cooper
2014-07-02 13:47 ` [PATCH v2 3/3] xen/common: Properly reference count DOMCTL_{, un}pausedomain hypercalls Andrew Cooper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.