mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-22 14:51:41 +00:00
36 lines
1 KiB
Diff
36 lines
1 KiB
Diff
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
|
|
index 652b9dc..43eefe9
|
|
--- a/mm/memcontrol.c
|
|
+++ b/mm/memcontrol.c
|
|
@@ -4981,11 +4981,6 @@ static int mem_cgroup_can_attach(struct cgroup_taskset *tset)
|
|
return ret;
|
|
}
|
|
|
|
-static int mem_cgroup_allow_attach(struct cgroup_taskset *tset)
|
|
-{
|
|
- return subsys_cgroup_allow_attach(tset);
|
|
-}
|
|
-
|
|
static void mem_cgroup_cancel_attach(struct cgroup_taskset *tset)
|
|
{
|
|
if (mc.to)
|
|
@@ -5140,10 +5135,6 @@ static int mem_cgroup_can_attach(struct cgroup_taskset *tset)
|
|
{
|
|
return 0;
|
|
}
|
|
-static int mem_cgroup_allow_attach(struct cgroup_taskset *tset)
|
|
-{
|
|
- return 0;
|
|
-}
|
|
static void mem_cgroup_cancel_attach(struct cgroup_taskset *tset)
|
|
{
|
|
}
|
|
@@ -5361,8 +5352,6 @@ struct cgroup_subsys memory_cgrp_subsys = {
|
|
.css_reset = mem_cgroup_css_reset,
|
|
.can_attach = mem_cgroup_can_attach,
|
|
.cancel_attach = mem_cgroup_cancel_attach,
|
|
- .attach = mem_cgroup_move_task,
|
|
- .allow_attach = mem_cgroup_allow_attach,
|
|
.post_attach = mem_cgroup_move_task,
|
|
.bind = mem_cgroup_bind,
|
|
.dfl_cftypes = memory_files,
|