Skip to content

mm, slab: Extend vm/drop_caches to shrink kmem slabs

Waiman Long cgroups linux-doc linux-fsdevel linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm, memcontrol: Add memcg_iterate_all()include/linux/memcontrol.h mm/memcontrol.c+16 -03 replies
2/2mm, slab: Extend vm/drop_caches to shrink kmem slabsDocumentation/sysctl/vm.txt fs/drop_caches.c include/linux/slab.h +2 more+60 -413 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] mm, slab: Extend vm/drop_caches to shrink kmem slabs

The purpose of this patchset is to allow system administrators to have the ability to shrink all the kmem slabs in order to free up memory and get a more accurate picture of how many slab objects are actually being used.

Patch 1 adds a new memcg_iterate_all() that is used by the patch 2 to iterate on all the memory cgroups.

Waiman Long (2):
mm, memcontrol: Add memcg_iterate_all()
mm, slab: Extend vm/drop_caches to shrink kmem slabs

 Documentation/sysctl/vm.txt | 11 ++++++++--
 fs/drop_caches.c            |  4 ++++
 include/linux/memcontrol.h  |  3 +++
 include/linux/slab.h        |  1 +
 kernel/sysctl.c             |  4 ++--
 mm/memcontrol.c             | 13 +++++++++++
 mm/slab_common.c            | 44 +++++++++++++++++++++++++++++++++++++
 7 files changed, 76 insertions(+), 4 deletions(-)
Signature · 1 line
2.18.1