Re: [RFC 0/4] Introduce unbalance proactive reclaim

From: Andrew Morton
Date: Wed Nov 08 2023 - 11:14:24 EST


On Wed, 8 Nov 2023 14:58:11 +0800 Huan Yang <link@xxxxxxxx> wrote:

> For example, when an application is pushed to the background and frozen,
> it may not be opened for a long time, and we can safely reclaim the
> application's anonymous pages, but we do not want to touch the file pages.

This paragraph is key to the entire patchset and it would benefit from
some expanding upon.

If the application is dormant, why on earth would we want to evict its
text but keep its data around?