OpenCloudOS-Kernel/kernel/cgroup
Honglin Li 0d35c4c639 rue/mm: introduce memcg priority oom
Under memory pressure reclaim and oom would happen,
with multiple cgroups exist in one system, we might
want some of their memory or tasks survived the
reclaim and oom while there are other cadidates.

When oom happens it always choose victim from low
priority memcg. And it works both for memcg oom and
global oom, it can be enabled/disabled through
@memory.use_priority_oom, for global oom through the root
memcg's @memory.use_priority_oom, it is disabled by default.

Signed-off-by: Haiwei Li <gerryhwli@tencent.com>
Signed-off-by: Mengmeng Chen <bauerchen@tencent.com>
Signed-off-by: Xiaoguang Chen <xiaoggchen@tencent.com>
Signed-off-by: Honglin Li <honglinli@tencent.com>
2024-09-27 11:13:31 +08:00
..
Makefile sli: backport sli function from tk3 2024-06-05 02:28:29 +00:00
cgroup-internal.h rue: cgroup priority 2024-09-27 11:13:29 +08:00
cgroup-v1.c rue: cgroup priority 2024-09-27 11:13:29 +08:00
cgroup.c rue/mm: introduce memcg priority oom 2024-09-27 11:13:31 +08:00
cpuset.c Merge linux 6.6.44 2024-08-05 17:22:57 +08:00
debug.c kernel: cgroup: fix misuse of %x 2019-05-06 08:47:48 -07:00
freezer.c cgroup: cleanup comments 2022-03-13 19:19:27 -10:00
legacy_freezer.c Merge remote-tracking branch 'stable/linux-6.6.y' into ocks-2401 2024-03-01 17:21:23 +08:00
mbuf.c netns/mbuf: add a per net namespace ring buffer 2024-05-23 21:22:21 +08:00
misc.c cgroup/misc: Store atomic64_t reads to u64 2023-07-21 08:10:06 -10:00
namespace.c cgroup:namespace: Remove unused cgroup_namespaces_init() 2023-08-14 14:29:47 -10:00
pids.c kabi: add paddings (part 2) 2023-12-12 15:56:46 +08:00
rdma.c rdmacg: fix kernel-doc warnings in rdmacg 2023-06-05 09:45:14 -10:00
rstat.c emm: allow modules to access more mm data 2024-04-03 16:58:54 +08:00
sli.c sli/io: backport iolat function from tk3 2024-06-28 09:38:02 +00:00