Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757255AbdDQWht (ORCPT ); Mon, 17 Apr 2017 18:37:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45020 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753860AbdDQWhq (ORCPT ); Mon, 17 Apr 2017 18:37:46 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 0F8404E02E Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=alex.williamson@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 0F8404E02E Subject: [PATCH v5 0/3] vfio/type1: Synchronous locked page accounting From: Alex Williamson To: alex.williamson@redhat.com, kvm@vger.kernel.org Cc: eric.auger@redhat.com, kwankhede@nvidia.com, peterx@redhat.com, linux-kernel@vger.kernel.org, slp@redhat.com Date: Mon, 17 Apr 2017 16:37:38 -0600 Message-ID: <20170417223158.25720.59453.stgit@gimli.home> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 17 Apr 2017 22:37:46 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 713 Lines: 21 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(-)