Re: [PATCH v4 08/14] mm/gup: grab head page refcount once for group of subpages

2021-10-14 Thread Jason Gunthorpe
On Thu, Oct 14, 2021 at 06:56:51PM +0100, Joao Martins wrote: > > And I would document this relationship in the GUP side "This do/while > > is required because insert_pfn_pmd/pud() is used with compound pages > > smaller than the PUD/PMD size" so it isn't so confused with just > > "devmap" > > Al

Re: [PATCH v4 08/14] mm/gup: grab head page refcount once for group of subpages

2021-10-14 Thread Joao Martins
On 10/13/21 20:43, Jason Gunthorpe wrote: > On Wed, Oct 13, 2021 at 08:18:08PM +0100, Joao Martins wrote: >> On 10/13/21 18:41, Jason Gunthorpe wrote: >>> On Mon, Oct 11, 2021 at 04:53:29PM +0100, Joao Martins wrote: On 10/8/21 12:54, Jason Gunthorpe wrote: >>> > The only optimization that