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