Hello Jialin. On Thu, Nov 10, 2022 at 02:53:16PM +0800, Lu Jialin <lujialin4@xxxxxxxxxx> wrote: > When user use memory.reclaim to reclaim memory, after drain percpu lru > caches, drain percpu charge caches for given memcg stock in the hope > of introducing more evictable pages. Do you have any data on materialization of this hope? IIUC, the stock is useful for batched accounting to page_counter but it doesn't represent real pages. I.e. your change may reduce the page_counter value but it would not release any pages. Or have I missed a way how it helps with the reclaim? Thanks, Michal
Attachment:
signature.asc
Description: Digital signature