public inbox for cgroups@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2, 0/4] mm, memcg: cgroup v1 and v2 tunable load/store tearing fixes
@ 2023-03-06 15:41 Yue Zhao
  2023-03-06 15:41 ` [PATCH v2, 2/4] mm, memcg: Prevent memory.swappiness load/store tearing Yue Zhao
       [not found] ` <20230306154138.3775-1-findns94-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 2 replies; 12+ messages in thread
From: Yue Zhao @ 2023-03-06 15:41 UTC (permalink / raw)
  To: akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b
  Cc: roman.gushchin-fxUVXftIFDnyG1zEObXtfA,
	hannes-druUgvl0LCNAfugRpC6u6w, mhocko-DgEjT+Ai2ygdnm+yROfE0A,
	shakeelb-hpIqsD4AKlfQT0dZR+AlfA,
	muchun.song-fxUVXftIFDnyG1zEObXtfA, willy-wEGCiKHe2LqWVfeAwA7xHQ,
	linux-mm-Bw31MaZKKs3YtjvyW6yDsg, cgroups-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	tangyeechou-Re5JQEeQqe8AvxtiuMwx3w, Yue Zhao

This patch series helps to prevent load/store tearing in
several cgroup knobs.

As kindly pointed out by Michal Hocko and Roman Gushchin
, the changelog has been rephrased.

Besides, more knobs were checked, according to kind suggestions
from Shakeel Butt and Muchun Song.

v1:
- Add [WRITE|READ]_ONCE for memcg->oom_group
v2:
- Rephrase changelog
- Add [WRITE|READ]_ONCE for memcg->oom_kill_disable,
 memcg->swappiness, vm_swappiness and memcg->soft_limit

Yue Zhao (4):
  mm, memcg: Prevent memory.oom.group load/store tearing
  mm, memcg: Prevent memory.swappiness load/store tearing
  mm, memcg: Prevent memory.oom_control load/store tearing
  mm, memcg: Prevent memory.soft_limit_in_bytes load/store tearing

 include/linux/swap.h |  8 ++++----
 mm/memcontrol.c      | 18 +++++++++---------
 2 files changed, 13 insertions(+), 13 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-03-08 14:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-06 15:41 [PATCH v2, 0/4] mm, memcg: cgroup v1 and v2 tunable load/store tearing fixes Yue Zhao
2023-03-06 15:41 ` [PATCH v2, 2/4] mm, memcg: Prevent memory.swappiness load/store tearing Yue Zhao
     [not found]   ` <20230306154138.3775-3-findns94-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-03-06 17:50     ` Michal Hocko
     [not found] ` <20230306154138.3775-1-findns94-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-03-06 15:41   ` [PATCH v2, 1/4] mm, memcg: Prevent memory.oom.group " Yue Zhao
     [not found]     ` <20230306154138.3775-2-findns94-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-03-06 17:47       ` Michal Hocko
2023-03-06 15:41   ` [PATCH v2, 3/4] mm, memcg: Prevent memory.oom_control " Yue Zhao
     [not found]     ` <20230306154138.3775-4-findns94-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-03-06 17:53       ` Michal Hocko
     [not found]         ` <ZAYoi8ZwwbXT9j7f-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2023-03-08 14:51           ` Martin Zhao
2023-03-06 15:41   ` [PATCH v2, 4/4] mm, memcg: Prevent memory.soft_limit_in_bytes " Yue Zhao
     [not found]     ` <20230306154138.3775-5-findns94-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-03-06 17:55       ` Michal Hocko
2023-03-06 16:25   ` [PATCH v2, 0/4] mm, memcg: cgroup v1 and v2 tunable load/store tearing fixes Shakeel Butt
2023-03-06 17:51   ` Roman Gushchin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox