From: Ma Wupeng <mawupeng1(a)huawei.com>
Backport "workload-specific and memory pressure-driven zswap writeback"
for OLK-6.6.
Domenico Cerasuolo (3):
zswap: make shrinking memcg-aware
mm: memcg: add per-memcg zswap writeback stat
selftests: cgroup: update per-memcg zswap writeback selftest
Nhat Pham (4):
list_lru: allow explicit memcg and NUMA node selection
memcontrol: implement mem_cgroup_tryget_online()
zswap: shrink zswap pool based on memory pressure
zswap: memcontrol: implement zswap writeback disabling
Documentation/admin-guide/cgroup-v2.rst | 15 +
Documentation/admin-guide/mm/zswap.rst | 20 +
drivers/android/binder_alloc.c | 7 +-
fs/dcache.c | 8 +-
fs/gfs2/quota.c | 6 +-
fs/inode.c | 4 +-
fs/nfs/nfs42xattr.c | 8 +-
fs/nfsd/filecache.c | 4 +-
fs/xfs/xfs_buf.c | 6 +-
fs/xfs/xfs_dquot.c | 2 +-
fs/xfs/xfs_qm.c | 2 +-
include/linux/list_lru.h | 56 ++-
include/linux/memcontrol.h | 27 ++
include/linux/mmzone.h | 2 +
include/linux/vm_event_item.h | 1 +
include/linux/zswap.h | 32 +-
mm/Kconfig | 14 +
mm/list_lru.c | 48 +-
mm/memcontrol.c | 42 ++
mm/mmzone.c | 1 +
mm/page_io.c | 6 +
mm/shmem.c | 3 +-
mm/swap.h | 3 +-
mm/swap_state.c | 28 +-
mm/vmstat.c | 1 +
mm/workingset.c | 4 +-
mm/zswap.c | 467 +++++++++++++++++---
tools/testing/selftests/cgroup/test_zswap.c | 74 +++-
28 files changed, 764 insertions(+), 127 deletions(-)
--
2.25.1