From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: [PATCH v5 0/3] vfio/type1: Synchronous locked page accounting Date: Mon, 17 Apr 2017 16:37:38 -0600 Message-ID: <20170417223158.25720.59453.stgit@gimli.home> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: eric.auger@redhat.com, kwankhede@nvidia.com, peterx@redhat.com, linux-kernel@vger.kernel.org, slp@redhat.com To: alex.williamson@redhat.com, kvm@vger.kernel.org Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org v5: - patch 1/ Use bool* to cleanup vfio_lock_acct() callers; sorry we cannot re-test CAP_IPC_LOCK for all callers - patch 2/ Re-add pr_warn, add Kirti's R-b - patch 3/ NEW, analyzing impact of vfio_lock_acct() testing CAP_IPC_LOCK for all callers revealed a long hanging optimization Thanks for the reviews, keep 'em coming, Alex --- Alex Williamson (3): vfio/type1: Remove locked page accounting workqueue vfio/type1: Prune vfio_pin_page_external() vfio/type1: Reduce repetitive calls in vfio_pin_pages_remote() drivers/vfio/vfio_iommu_type1.c | 150 +++++++++++++++++---------------------- 1 file changed, 64 insertions(+), 86 deletions(-)