From c1ece0940ed557f9d25f737372cb26b9cd29c878 Mon Sep 17 00:00:00 2001 From: Li Zefan Date: Fri, 25 Jul 2008 01:46:56 -0700 Subject: [PATCH] --- yaml --- r: 105889 b: refs/heads/master c: 8947f9d5b361ce927be6d5c11fed57905b7a4100 h: refs/heads/master i: 105887: 784d34f8fe6d952679c2eefd150f2e7872ccc502 v: v3 --- [refs] | 2 +- trunk/kernel/cgroup.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index d919d3cbd104..ea4a274e8557 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 71cbb949d17d4d776abd547135feb7f3282405c8 +refs/heads/master: 8947f9d5b361ce927be6d5c11fed57905b7a4100 diff --git a/trunk/kernel/cgroup.c b/trunk/kernel/cgroup.c index 6836a9063634..70d083c6fb6b 100644 --- a/trunk/kernel/cgroup.c +++ b/trunk/kernel/cgroup.c @@ -118,7 +118,7 @@ static int root_count; * extra work in the fork/exit path if none of the subsystems need to * be called. */ -static int need_forkexit_callback; +static int need_forkexit_callback __read_mostly; static int need_mm_owner_callback __read_mostly; /* convenient tests for these bits */ @@ -220,7 +220,7 @@ static struct hlist_head *css_set_hash(struct cgroup_subsys_state *css[]) * task until after the first call to cgroup_iter_start(). This * reduces the fork()/exit() overhead for people who have cgroups * compiled into their kernel but not actually in use */ -static int use_task_css_set_links; +static int use_task_css_set_links __read_mostly; /* When we create or destroy a css_set, the operation simply * takes/releases a reference count on all the cgroups referenced