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

2021-09-30 Thread Jason Gunthorpe
On Thu, Sep 30, 2021 at 06:54:05PM +0100, Joao Martins wrote: > On 9/30/21 04:01, Alistair Popple wrote: > > On Thursday, 30 September 2021 5:34:05 AM AEST Jason Gunthorpe wrote: > >> On Wed, Sep 29, 2021 at 12:50:15PM +0100, Joao Martins wrote: > >> > If the get_dev_pagemap has to remain then

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

2021-09-30 Thread Joao Martins
On 9/30/21 04:01, Alistair Popple wrote: > On Thursday, 30 September 2021 5:34:05 AM AEST Jason Gunthorpe wrote: >> On Wed, Sep 29, 2021 at 12:50:15PM +0100, Joao Martins wrote: >> If the get_dev_pagemap has to remain then it just means we have to flush before changing pagemap pointers >>