On Fri, 21 Mar 2025 16:38:29 +0100 David Hildenbrand <david@xxxxxxxxxx> wrote: > >> - mapcount = page_mapcount_is_type(mapcount) ? 0 : mapcount + 1; > >> + mapcount = page_mapcount_is_type(mapcount) ? 0 : mapcount; > > > > At this point it would be perhaps more obvious: > > > > if (page_mapcount_is_type(mapcount)) > > mapcount = 0; > > Agreed, maybe Andrew can fix that up. Sure. I'll be adding this series to the 6.15-rc1 pile.