Re: [PATCH v2] mm: Add configuration to control whether vmpressure notifier is enabled

From: Shakeel Butt
Date: Fri Aug 20 2021 - 07:42:23 EST


On Thu, Aug 19, 2021 at 4:54 PM <yongw.pur@xxxxxxxxx> wrote:
>
> From: wangyong <wang.yong@xxxxxxxxxx>
>
> Inspired by PSI features, vmpressure inotifier function should
> also be configured to decide whether it is used, because it is an
> independent feature which notifies the user of memory pressure.
>

It is also used by the networking stack to check memory pressure. See
mem_cgroup_under_socket_pressure().