Unverified Commit 8aa69e79 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!3894 Add swap control for memcg

Merge Pull Request from: @ci-robot 
 
PR sync from: Jinjiang Tu <tujinjiang@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/7UCOO6PANTDXMXYD5KHILHPRQ7W27VGW/ 
This series patches add swap control for memory cgroup. Patch[1] add page
type in memory.reclaim interface to support reclaim anon pages. Patch[3]
add memory.force_swapin interface to support swap back pages proactively.
Patch[4-6] add memory.swapfile interface to limit available swap device
for memory cgroup. Patch[7] add memory.swap.max interface to limit usage
of swap for memory cgroup.

Jinjiang Tu (1):
  memcg: make sysctl registration more extensible

Liu Shixin (7):
  memcg: add page type to memory.reclaim interface
  memcg: introduce memcg swap qos feature
  memcg: introduce per-memcg swapin interface
  memcg: add restrict to swap to cgroup1
  mm/swapfile: introduce per-memcg swapfile control
  mm: swap_slots: add per-type slot cache
  config: enable memcg swap qos for x86_64 and arm64 by default

zhaoxiaoqiang11 (1):
  memcg/swap: add ability to disable memcg swap


-- 
2.25.1
 
https://gitee.com/openeuler/kernel/issues/I8QK6Q 
 
Link:https://gitee.com/openeuler/kernel/pulls/3894

 

Reviewed-by: default avatarLu Jialin <lujialin4@huawei.com>
Reviewed-by: default avatarLiu Chao <liuchao173@huawei.com>
Reviewed-by: default avatarZhang Jianhua <chris.zjh@huawei.com>
Reviewed-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parents 49f3cbc2 9f154c6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment