Thread (11 messages) 11 messages, 3 authors, 2021-09-06

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

From: yong w <hidden>
Date: 2021-08-22 10:06:23
Also in: cgroups, linux-mm, lkml

Hello, I find the code of socket pressure and vmpressure are related.
And there are two ways to be discussed
1. The calculation of socket pressure is handed over to the psi.
2. Vmpresssure and psi update socket pressure respectively, and are
configured separately.

Thanks.

yong w [off-list ref] 于2021年8月20日周五 下午10:29写道:
Shakeel Butt [off-list ref] 于2021年8月20日周五 下午7:42写道:
quoted
On Thu, Aug 19, 2021 at 4:54 PM [off-list ref] wrote:
quoted
From: wangyong <redacted>

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help