[PATCH kernel v2 0/2] powerpc/mm/iommu: Put pages on process exit

Alexey Kardashevskiy aik at ozlabs.ru
Wed Jul 20 14:34:29 AEST 2016


This is a fix to a bug when guest memory stays Active
after QEMU process exited. This happened because the QEMU memory context
was not released in a short period of time after QEMU process exited.
More details are in the commit logs.

Please comment. Thanks.

Alexey Kardashevskiy (2):
  powerpc/iommu: Stop using @current in mm_iommu_xxx
  powerpc/mm/iommu: Put pages on process exit

 arch/powerpc/include/asm/mmu_context.h | 16 +++---
 arch/powerpc/mm/mmu_context_book3s64.c |  4 --
 arch/powerpc/mm/mmu_context_iommu.c    | 55 +++++++--------------
 drivers/vfio/vfio_iommu_spapr_tce.c    | 89 ++++++++++++++++++++++++++++------
 4 files changed, 100 insertions(+), 64 deletions(-)

-- 
2.5.0.rc3



More information about the Linuxppc-dev mailing list