[PATCH v2 0/2] mm, slab: Extend slab/shrink to shrink all memcg caches

From: Waiman Long
Date: Wed Jul 17 2019 - 16:25:33 EST


v2:
- Just extend the shrink sysfs file to shrink all memcg caches without
adding new semantics.
- Add a patch to report the time of the shrink operation.

This patchset enables the slab/shrink sysfs file to shrink all the
memcg caches that are associated with the given root cache. The time of
the shrink operation can now be read from the shrink file.

Waiman Long (2):
mm, slab: Extend slab/shrink to shrink all memcg caches
mm, slab: Show last shrink time in us when slab/shrink is read

Documentation/ABI/testing/sysfs-kernel-slab | 14 +++++---
include/linux/slub_def.h | 1 +
mm/slab.h | 1 +
mm/slab_common.c | 37 +++++++++++++++++++++
mm/slub.c | 14 +++++---
5 files changed, 59 insertions(+), 8 deletions(-)

--
2.18.1