Skip to content

memcg-vs-slab related fixes, improvements, cleanups

Vladimir Davydov linux-mm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 2 repliesIn review
  2. v27 patches 8 repliesSuperseded
  3. v18 patches 24 repliesSuperseded

Changes in v3 from the cover letter

- improve patch descriptions
- overall cleanup
- rebase onto v3.14-rc3

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7memcg, slab: never try to merge memcg cachesmm/slab.h mm/slab_common.c mm/slub.c+18 -300 replies
2/7memcg, slab: cleanup memcg cache creationinclude/linux/memcontrol.h mm/memcontrol.c mm/slab_common.c+52 -512 replies
3/7memcg, slab: separate memcg vs root cache creation pathsinclude/linux/memcontrol.h include/linux/slab.h mm/memcontrol.c +1 more+111 -950 replies
4/7memcg, slab: unregister cache from memcg before starting to destroy itmm/memcontrol.c mm/slab_common.c+8 -70 replies
5/7memcg, slab: do not destroy children caches if parent has aliasesinclude/linux/memcontrol.h mm/memcontrol.c mm/slab_common.c+57 -370 replies
6/7slub: adjust memcg caches when creating cache aliasmm/slub.c+13 -00 replies
7/7slub: rework sysfs layout for memcg cachesinclude/linux/slub_def.h mm/slub.c+28 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH -mm v3 0/7] memcg-vs-slab related fixes, improvements, cleanups

Hi,

This patch set mostly cleanups memcg slab caches creation/destruction paths fixing a couple of bugs in the meanwhile. The only serious change it introduces is a rework of the sysfs layout for memcg slub caches (see patch 7).

Changes in v3 (thanks to Michal Hocko):
- improve patch descriptions
- overall cleanup
- rebase onto v3.14-rc3
Changes in v2 (thanks to David Rientjes):
- do not remove cgroup name part from memcg cache names
- do not export memcg cache id to userspace

Thanks,

Vladimir Davydov (7):
memcg, slab: never try to merge memcg caches
memcg, slab: cleanup memcg cache creation
memcg, slab: separate memcg vs root cache creation paths memcg, slab: unregister cache from memcg before starting to destroy
it
memcg, slab: do not destroy children caches if parent has aliases
slub: adjust memcg caches when creating cache alias
slub: rework sysfs layout for memcg caches

 include/linux/memcontrol.h |    9 +-
 include/linux/slab.h       |    6 +-
 include/linux/slub_def.h   |    3 +
 mm/memcontrol.c            |  109 ++++++++-----------
 mm/slab.h                  |   21 +---
 mm/slab_common.c           |  250 +++++++++++++++++++++++++++-----------------
 mm/slub.c                  |   58 ++++++++--
 7 files changed, 261 insertions(+), 195 deletions(-)
Signature · 7 lines
1.7.10.4

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>