On 7/1/2023 9:17 AM, Zi Yan wrote: > In kernel, almost all code only cares: 1) if a page/folio has extra pins > by checking if mapcount is equal to refcount + extra, and 2) > if a page/folio is mapped multiple times. A single mapcount can meet > these two needs. For 2, how can we know whether a page/folio is mapped multiple times from single mapcount? My understanding is we need two counts as folio could be partial mapped. Regards Yin, Fengwei