lkml.org 
[lkml]   [2020]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH V4 0/2] vfio: optimized for hugetlbf pages when dma map/unmap
Date
This series deletes the for loop in dma_map/unmap for hugetlb pages.
In the original process, the for loop could spend much time to check all
normal pages.If we use hugetlb pages, it is not necessary to do this.

Changes from v3
- add a new API unpin_user_hugetlb_pages_dirty_lock()
- use the new API to unpin hugetlb pages

Ming Mao (2):
vfio dma_map/unmap: optimized for hugetlbfs pages
vfio: optimized for unpinning pages

drivers/vfio/vfio_iommu_type1.c | 373 ++++++++++++++++++++++++++++++--
include/linux/mm.h | 3 +
mm/gup.c | 91 ++++++++
3 files changed, 450 insertions(+), 17 deletions(-)

--
2.23.0


\
 
 \ /
  Last update: 2020-09-08 17:36    [W:0.142 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site