Re: Folio mapcount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 7/3/2023 3:51 AM, Zi Yan wrote:
>> (3) Mapcount of first (or any other) subpage (compount+subpage): for
>>     folio_estimated_sharers().
> This is another estimation. I wonder if we can use a different estimation
> like total_mapcount() > folio_nr_pages() instead.
Considering the partial folio mapping, I suppose we should use
   total_mapcount() > folio->_nr_pages_mapped
as folio_estimated_sharers().


Regards
Yin, Fengwei
 




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux