Re: [PATCH v3] mm: add thp_utilization metrics to /proc/thp_utilization

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

 



> On Aug 10, 2022, at 10:07 AM, Yang Shi <shy828301@xxxxxxxxx> wrote:
> 
> On Tue, Aug 9, 2022 at 4:36 PM Yu Zhao <yuzhao@xxxxxxxxxx> wrote:
>> 
>> On Tue, Aug 9, 2022 at 11:16 AM Alex Zhu (Kernel) <alexlzhu@xxxxxx> wrote:
>>> 
>>> 
>>>> OK, it is hard to tell what it looks like now. But the THPs on the
>>>> deferred split list may be on the "low utilization split" list too?
>>>> IIUC the major difference is to replace zero-filled subpage to special
>>>> zero page, so you implemented another THP split function to handle it?
>>>> 
>>>> Anyway the code should answer the most questions.
>>> 
>>> They can indeed end up on both lists. This did have to be handled when
>>> implementing the shrinker.
>>> 
>>> We free the zero filled subpages, while modifying the existing split_huge_page()
>>> function. Will follow up that change in another patch.
>> 
>> FYI. This series does it:
>> 
>> https://lore.kernel.org/r/20210731063938.1391602-1-yuzhao@xxxxxxxxxx/
>> 
>> And this one:
>> 
>> https://lore.kernel.org/r/1635422215-99394-1-git-send-email-ningzhang@xxxxxxxxxxxxxxxxx/
> 
> Thanks, Yu. I totally forgot about these series. It is time to refresh
> my memory.

I looked through these patches yesterday. There are indeed parts that are very similar, but the approach
taken seems overly complicated compared to what I have written. What’s the status of work on this since last year?  




[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