Re: [RFC] Mechanism to induce memory reclaim

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

 



On Mon 07-03-22 14:53:40, Wei Xu wrote:
[...]
> The choice between anon and file pages is not only a hardware
> property, but also a matter of policy decisions. It is useful to allow
> the userspace policy daemon the flexibility to choose anon pages or
> file pages or both to reclaim from, for the exact reasons that you
> have described.  This is important for the use cases in Google (where
> anon pages are the primary focus of proactive reclaim).
> 
> Maybe instead of the swappiness factor, we can replace this parameter
> with a page type mask to more explicitly select which types of pages
> to reclaim.

I am concerned this could lead to even more problems. Where do you draw
the line? Do you want to control slab reclaim or even shrinkers based
reclaim?
-- 
Michal Hocko
SUSE Labs




[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