On Sun, Aug 27, 2023 at 09:52:11PM +0800, Yin Fengwei wrote:
Patch series "don't use mapcount() to check large folio sharing", v2.
In madvise_cold_or_pageout_pte_range() and madvise_free_pte_range(), folio_mapcount() is used to check whether the folio is shared. But it's not correct as folio_mapcount() returns total mapcount of large folio.
All backports now queued up, thanks!
greg k-h