答复: [PATCH] vfio dma_map/unmap: optimized for hugetlbfs pages

2020-08-12 Thread Maoming (maoming, Cloud Infrastructure Service Product Dept.)
Product Dept.) ; Huangweidong (C) ; Peter Xu ; Andrea Arcangeli 主题: RE: [PATCH] vfio dma_map/unmap: optimized for hugetlbfs pages Thanks for taking a close look at the code, Alex. We'll check them one by one ASAP. > -Original Message- > From: Alex Williamson [mailto:a

Re: [PATCH] vfio dma_map/unmap: optimized for hugetlbfs pages

2020-07-21 Thread Peter Xu
On Mon, Jul 20, 2020 at 04:46:03PM -0600, Alex Williamson wrote: > > + /* > > +* We got a hugetlbfs page using vaddr_get_pfn alreadly. > > +* In this case,we do not need to alloc pages and we can finish > > all > > +* work by a single operation to the

RE: [PATCH] vfio dma_map/unmap: optimized for hugetlbfs pages

2020-07-21 Thread Zhoujian (jay)
vger.kernel.org; coh...@redhat.com; > Maoming (maoming, Cloud Infrastructure Service Product Dept.) > ; Huangweidong (C) > ; Peter Xu ; Andrea > Arcangeli > Subject: Re: [PATCH] vfio dma_map/unmap: optimized for hugetlbfs pages > > On Mon, 20 Jul 2020 16:29:47 +0800 > Jay Zh

Re: [PATCH] vfio dma_map/unmap: optimized for hugetlbfs pages

2020-07-20 Thread kernel test robot
Hi Jay, Thank you for the patch! Yet something to improve: [auto build test ERROR on vfio/next] [also build test ERROR on linux/master linus/master v5.8-rc6 next-20200720] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base'

Re: [PATCH] vfio dma_map/unmap: optimized for hugetlbfs pages

2020-07-20 Thread Alex Williamson
On Mon, 20 Jul 2020 16:29:47 +0800 Jay Zhou wrote: > From: Ming Mao > > Hi all, > I'm working on starting lots of big size > Virtual Machines(memory: >128GB) with VFIO-devices. And I > encounter a problem that is the waiting time of starting > all Virtual Machines is too long. I analyze the sta

Re: [PATCH] vfio dma_map/unmap: optimized for hugetlbfs pages

2020-07-20 Thread kernel test robot
Hi Jay, Thank you for the patch! Yet something to improve: [auto build test ERROR on vfio/next] [also build test ERROR on linux/master linus/master v5.8-rc6 next-20200720] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base'

[PATCH] vfio dma_map/unmap: optimized for hugetlbfs pages

2020-07-20 Thread Jay Zhou
From: Ming Mao Hi all, I'm working on starting lots of big size Virtual Machines(memory: >128GB) with VFIO-devices. And I encounter a problem that is the waiting time of starting all Virtual Machines is too long. I analyze the startup log and find that the time of pinning/unpinning pages could be