@@ -92,7 +92,7 @@ Change-Id: I71de7cd15b8dfa6f9fdd838023474693c4fee0a7
92
92
}
93
93
--- a/include/linux/cgroup.h
94
94
+++ b/include/linux/cgroup.h
95
- @@ -432 ,6 +432 ,18 @@ static inline void cgroup_put(struct cgr
95
+ @@ -433 ,6 +433 ,18 @@ static inline void cgroup_put(struct cgr
96
96
css_put(&cgrp->self);
97
97
}
98
98
@@ -111,15 +111,15 @@ Change-Id: I71de7cd15b8dfa6f9fdd838023474693c4fee0a7
111
111
/**
112
112
* task_css_set_check - obtain a task's css_set with extra access conditions
113
113
* @task: the task to obtain css_set for
114
- @@ -446 ,7 +458 ,6 @@ static inline void cgroup_put(struct cgr
114
+ @@ -447 ,7 +459 ,6 @@ static inline void cgroup_put(struct cgr
115
115
* as locks used during the cgroup_subsys::attach() methods.
116
116
*/
117
117
#ifdef CONFIG_PROVE_RCU
118
118
- extern struct mutex cgroup_mutex;
119
119
extern spinlock_t css_set_lock;
120
120
#define task_css_set_check(task, __c) \
121
121
rcu_dereference_check((task)->cgroups, \
122
- @@ -707 ,6 +718 ,8 @@ struct cgroup;
122
+ @@ -708 ,6 +719 ,8 @@ struct cgroup;
123
123
static inline u64 cgroup_id(const struct cgroup *cgrp) { return 1; }
124
124
static inline void css_get(struct cgroup_subsys_state *css) {}
125
125
static inline void css_put(struct cgroup_subsys_state *css) {}
@@ -593,7 +593,7 @@ Change-Id: I71de7cd15b8dfa6f9fdd838023474693c4fee0a7
593
593
VM_BUG_ON_PAGE(tail > 2 && page_tail->mapping != TAIL_MAPPING,
594
594
--- a/mm/memcontrol.c
595
595
+++ b/mm/memcontrol.c
596
- @@ -5226 ,6 +5226 ,7 @@ static struct mem_cgroup *mem_cgroup_all
596
+ @@ -5237 ,6 +5237 ,7 @@ static struct mem_cgroup *mem_cgroup_all
597
597
memcg->deferred_split_queue.split_queue_len = 0;
598
598
#endif
599
599
idr_replace(&mem_cgroup_idr, memcg, memcg->id.id);
0 commit comments