|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v2 0/3] Improvements to allow refcoutning of DOMCTL_{, un}pausedomain
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |