diff options
-rw-r--r-- | kernel/cgroup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 6836a9063634..70d083c6fb6b 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
@@ -118,7 +118,7 @@ static int root_count; | |||
118 | * extra work in the fork/exit path if none of the subsystems need to | 118 | * extra work in the fork/exit path if none of the subsystems need to |
119 | * be called. | 119 | * be called. |
120 | */ | 120 | */ |
121 | static int need_forkexit_callback; | 121 | static int need_forkexit_callback __read_mostly; |
122 | static int need_mm_owner_callback __read_mostly; | 122 | static int need_mm_owner_callback __read_mostly; |
123 | 123 | ||
124 | /* convenient tests for these bits */ | 124 | /* convenient tests for these bits */ |
@@ -220,7 +220,7 @@ static struct hlist_head *css_set_hash(struct cgroup_subsys_state *css[]) | |||
220 | * task until after the first call to cgroup_iter_start(). This | 220 | * task until after the first call to cgroup_iter_start(). This |
221 | * reduces the fork()/exit() overhead for people who have cgroups | 221 | * reduces the fork()/exit() overhead for people who have cgroups |
222 | * compiled into their kernel but not actually in use */ | 222 | * compiled into their kernel but not actually in use */ |
223 | static int use_task_css_set_links; | 223 | static int use_task_css_set_links __read_mostly; |
224 | 224 | ||
225 | /* When we create or destroy a css_set, the operation simply | 225 | /* When we create or destroy a css_set, the operation simply |
226 | * takes/releases a reference count on all the cgroups referenced | 226 | * takes/releases a reference count on all the cgroups referenced |