summaryrefslogtreecommitdiff
path: root/include/linux/cgroup.h
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2008-07-25 01:46:56 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 10:53:35 -0700
commit8947f9d5b361ce927be6d5c11fed57905b7a4100 (patch)
treef4a7d212cfef8889a60022c8ff3c9cfcf97962c2 /include/linux/cgroup.h
parent71cbb949d17d4d776abd547135feb7f3282405c8 (diff)
downloadlwn-8947f9d5b361ce927be6d5c11fed57905b7a4100.tar.gz
lwn-8947f9d5b361ce927be6d5c11fed57905b7a4100.zip
cgroups: annotate two variables with __read_mostly
- need_forkexit_callback will be read only after system boot. - use_task_css_set_links will be read only after it's set. And these 2 variables are checked when a new process is forked. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Paul Menage <menage@google.com> Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/cgroup.h')
0 files changed, 0 insertions, 0 deletions