This is an assorted series of fixes to the memory sharing subsystem.
Patch 1-2: fix general brokeness of the system
Patch 3-5: nice-to-haves & cleanups, could be applied independently from the
rest of the patches in the series
Tamas K Lengyel (5):
x86/mem_sharing: reorder when pages are unlocked and released
x86/mem_sharing: copy a page_lock version to be internal to memshr
x86/mem_sharing: enable mem_share audit mode only in debug builds
x86/mem_sharing: compile mem_sharing subsystem only when kconfig is
enabled
x86/mem_sharing: style cleanup
xen/arch/x86/Kconfig | 6 +-
xen/arch/x86/domain.c | 2 +
xen/arch/x86/domctl.c | 2 +
xen/arch/x86/mm/Makefile | 2 +-
xen/arch/x86/mm/mem_sharing.c | 355 +++++++++++++++++-------------
xen/arch/x86/x86_64/compat/mm.c | 2 +
xen/arch/x86/x86_64/mm.c | 2 +
xen/common/Kconfig | 3 -
xen/common/domain.c | 6 +-
xen/common/grant_table.c | 2 +-
xen/common/memory.c | 2 +-
xen/common/vm_event.c | 6 +-
xen/include/asm-x86/mem_sharing.h | 32 +++
xen/include/asm-x86/mm.h | 18 +-
xen/include/xen/mm.h | 2 +-
xen/include/xen/sched.h | 2 +-
xen/include/xsm/dummy.h | 2 +-
xen/include/xsm/xsm.h | 4 +-
xen/xsm/dummy.c | 2 +-
xen/xsm/flask/hooks.c | 4 +-
20 files changed, 266 insertions(+), 190 deletions(-)
--
2.20.1
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel