lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 19 Jun 2023 19:30:44 +0200
From: Michal Koutný <mkoutny@...e.com>
To: Abel Wu <wuyun.abel@...edance.com>
Cc: Eric Dumazet <edumazet@...gle.com>, Tejun Heo <tj@...nel.org>, 
	Christian Warloe <cwarloe@...gle.com>, Wei Wang <weiwan@...gle.com>, 
	"David S. Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, 
	Paolo Abeni <pabeni@...hat.com>, Johannes Weiner <hannes@...xchg.org>, 
	Michal Hocko <mhocko@...nel.org>, Roman Gushchin <roman.gushchin@...ux.dev>, 
	Shakeel Butt <shakeelb@...gle.com>, Muchun Song <muchun.song@...ux.dev>, 
	Andrew Morton <akpm@...ux-foundation.org>, David Ahern <dsahern@...nel.org>, 
	Yosry Ahmed <yosryahmed@...gle.com>, "Matthew Wilcox (Oracle)" <willy@...radead.org>, 
	Yu Zhao <yuzhao@...gle.com>, Vasily Averin <vasily.averin@...ux.dev>, 
	Kuniyuki Iwashima <kuniyu@...zon.com>, Martin KaFai Lau <martin.lau@...nel.org>, 
	Xin Long <lucien.xin@...il.com>, Jason Xing <kernelxing@...cent.com>, 
	Michal Hocko <mhocko@...e.com>, Alexei Starovoitov <ast@...nel.org>, 
	open list <linux-kernel@...r.kernel.org>, "open list:NETWORKING [GENERAL]" <netdev@...r.kernel.org>, 
	"open list:CONTROL GROUP - MEMORY RESOURCE CONTROLLER (MEMCG)" <cgroups@...r.kernel.org>, 
	"open list:CONTROL GROUP - MEMORY RESOURCE CONTROLLER (MEMCG)" <linux-mm@...ck.org>
Subject: Re: [RFC PATCH net-next] sock: Propose socket.urgent for sockmem
 isolation

On Tue, Jun 13, 2023 at 02:46:32PM +0800, Abel Wu <wuyun.abel@...edance.com> wrote:
> Memory protection (memory.{min,low}) helps the important jobs less
> affected by memstalls. But once low priority jobs use lots of kernel
> memory like sockmem, the protection might become much less efficient.

What would happen if you applied memory.{min,low} to the important jobs
and memory.{max,high} to the low prio ones?

Thanks,
Michal

Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ