[Devel] [PATCH RH8 0/5] memcg: allow to limit page cache usage

Alexander Mikhalitsyn alexander.mikhalitsyn at virtuozzo.com
Thu Jul 29 18:20:44 MSK 2021


https://jira.sw.ru/browse/PSBM-131957

Alexander Mikhalitsyn (1):
  mm: introduce page vz extension (using page_ext)

Andrey Ryabinin (4):
  mm/memcg: limit page cache in memcg hack
  mm/memcg: reclaim memory.cache.limit_in_bytes from background
  mm/memcg: fix cache growth above cache.limit_in_bytes
  mm/memcg: Use per-cpu stock charges for ->cache counter

 include/linux/memcontrol.h   |   3 +
 include/linux/page_vzext.h   |  25 ++++
 include/linux/page_vzflags.h |  31 +++++
 mm/Makefile                  |   1 +
 mm/filemap.c                 |   2 +-
 mm/huge_memory.c             |   2 +
 mm/memcontrol.c              | 253 ++++++++++++++++++++++++++++-------
 mm/migrate.c                 |   2 +
 mm/page_alloc.c              |   4 +
 mm/page_ext.c                |   2 +
 mm/page_vzext.c              |  66 +++++++++
 11 files changed, 342 insertions(+), 49 deletions(-)
 create mode 100644 include/linux/page_vzext.h
 create mode 100644 include/linux/page_vzflags.h
 create mode 100644 mm/page_vzext.c

-- 
2.28.0



More information about the Devel mailing list