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(-)