A similar thing has been proposed recently by Shakeel http://lkml.kernel.org/r/20200909215752.1725525-1-shake...@google.com Please have a look at the follow up discussion. -- Michal Hocko SUSE Labs
- [PATCH RFC v2] Opportunistic memory reclaim Andrea Righi
- [PATCH RFC v2 1/2] mm: memcontrol: make shrink_all_memor... Andrea Righi
- [PATCH RFC v2 2/2] mm: memcontrol: introduce opportunist... Andrea Righi
- Re: [PATCH RFC v2] Opportunistic memory reclaim Michal Hocko
- Re: [PATCH RFC v2] Opportunistic memory reclaim Andrea Righi
- Re: [PATCH RFC v2] Opportunistic memory reclaim Chris Down
- Re: [PATCH RFC v2] Opportunistic memory reclaim Andrea Righi
- Re: [PATCH RFC v2] Opportunistic memory reclaim Chris Down
- Re: [PATCH RFC v2] Opportunistic memory recl... Andrea Righi