Re: [PATCH 1/6] mm: Add batch size for free page reporting

2021-01-06 Thread Liang Li
> So you are going to need a lot more explanation for this. Page > reporting already had the concept of batching as you could only scan > once every 2 seconds as I recall. Thus the "PAGE_REPORTING_DELAY". The > change you are making doesn't make any sense without additional > context. The reason

Re: [PATCH 1/6] mm: Add batch size for free page reporting

2021-01-06 Thread Alexander Duyck
On Tue, Jan 5, 2021 at 7:47 PM Liang Li wrote: > > Use the page order as the only threshold for page reporting > is not flexible and has some flaws. Because scan a long free > list is not cheap, it's better to wake up the page reporting > worker when there are more pages, wake it up for a sigle

[PATCH 1/6] mm: Add batch size for free page reporting

2021-01-05 Thread Liang Li
Use the page order as the only threshold for page reporting is not flexible and has some flaws. Because scan a long free list is not cheap, it's better to wake up the page reporting worker when there are more pages, wake it up for a sigle page may not worth. This patch add a batch size as another