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-next>] [day] [month] [year] [list]
Date: Tue, 26 Mar 2024 11:37:37 +0100
From: Vlastimil Babka <vbabka@...e.cz>
To: Linus Torvalds <torvalds@...ux-foundation.org>, 
 Josh Poimboeuf <jpoimboe@...nel.org>, Jeff Layton <jlayton@...nel.org>, 
 Chuck Lever <chuck.lever@...cle.com>, Kees Cook <kees@...nel.org>, 
 Christoph Lameter <cl@...ux.com>, Pekka Enberg <penberg@...nel.org>, 
 David Rientjes <rientjes@...gle.com>, Joonsoo Kim <iamjoonsoo.kim@....com>, 
 Andrew Morton <akpm@...ux-foundation.org>, 
 Roman Gushchin <roman.gushchin@...ux.dev>, 
 Hyeonggon Yoo <42.hyeyoo@...il.com>, Johannes Weiner <hannes@...xchg.org>, 
 Michal Hocko <mhocko@...nel.org>, Muchun Song <muchun.song@...ux.dev>, 
 Alexander Viro <viro@...iv.linux.org.uk>, 
 Christian Brauner <brauner@...nel.org>, Jan Kara <jack@...e.cz>, 
 Shakeel Butt <shakeel.butt@...ux.dev>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org, 
 cgroups@...r.kernel.org, linux-fsdevel@...r.kernel.org, 
 Vlastimil Babka <vbabka@...e.cz>, Chengming Zhou <chengming.zhou@...ux.dev>
Subject: [PATCH mm-unstable v3 0/2] memcg_kmem hooks refactoring

Hi,

sorry for a v3 that soon after v2. I initially planned to just merge the
v2 to the slab tree later this week, but then I checked and the
conflicts with mm tree would be too tedious (mainly due to memory
allocation profiling series). Also large part of this is in memcontrol.c
and further work in there might be based on this, so it's easier to just
go via mm tree.

So this is just a rebase on top of mm-unstable so it can be included
there. Thanks.

Vlastimil

Signed-off-by: Vlastimil Babka <vbabka@...e.cz>
---
Changes in v3:
- rebased on v2
- Link to v2: https://lore.kernel.org/r/20240325-slab-memcg-v2-0-900a458233a6@suse.cz

Changes in v2:
- rebase to v6.9-rc1
- add reviewed-by's to patches 1+2
- drop patches 3+4 (kmem_cache_charge() and usage in vfs)
- Link to v1: https://lore.kernel.org/r/20240301-slab-memcg-v1-0-359328a46596@suse.cz

---
Vlastimil Babka (2):
      mm, slab: move memcg charging to post-alloc hook
      mm, slab: move slab_memcg hooks to mm/memcontrol.c

 mm/memcontrol.c |  90 +++++++++++++++++++++++++
 mm/slab.h       |  13 ++++
 mm/slub.c       | 205 +++++++++++---------------------------------------------
 3 files changed, 143 insertions(+), 165 deletions(-)
---
base-commit: 4aaccadb5c04dd4d4519c8762a38010a32d904a3
change-id: 20240229-slab-memcg-ae6b3789c924

Best regards,
-- 
Vlastimil Babka <vbabka@...e.cz>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ