Re: [RFC 0/4] Introduce unbalance proactive reclaim
From: Michal Hocko
Date: Thu Nov 09 2023 - 04:57:32 EST
On Thu 09-11-23 11:38:56, Huan Yang wrote:
[...]
> > If so, is it better only to reclaim private anonymous pages explicitly?
> Yes, in practice, we only proactively compress anonymous pages and do not
> want to touch file pages.
If that is the case and this is mostly application centric (which you
seem to be suggesting) then why don't you use madvise(MADV_PAGEOUT)
instead.
--
Michal Hocko
SUSE Labs