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

From: yong w
Date: Fri Aug 20 2021 - 10:29:42 EST


Shakeel Butt <shakeelb@xxxxxxxxxx> 于2021年8月20日周五 下午7:42写道:
>
> 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().

Thanks for your replly, mem_cgroup_under_socket_pressure does use vmpressue,
I'll check it.