Re: [v2 PATCH] mm: thp: handle page cache THP correctly in PageTransCompoundMap

From: Hugh Dickins
Date: Wed Oct 23 2019 - 14:57:53 EST


On Wed, 23 Oct 2019, Yang Shi wrote:
> On 10/23/19 10:24 AM, Matthew Wilcox wrote:
> > On Thu, Oct 24, 2019 at 01:05:04AM +0800, Yang Shi wrote:
> > > + return map_count >= 0 &&
> > > + map_count == atomic_read(&head[1].compound_mapcount);
> > > }
> > I didn't like Hugh's duplicate definition either. May I suggest:
>
> Thanks, Willy. It is fine to me. Will take it in v3.

Agreed, that will be better.

Hugh