[PATCH] cgroup: anotate two variables with __read_mostly

KOSAKI Motohiro kosaki.motohiro at jp.fujitsu.com
Fri Jun 6 21:16:09 PDT 2008


> 
> - 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 at cn.fujitsu.com>

nice :)
	Acked-by: KOSAKI Motohiro <kosaki.motohiro at jp.fujitsu.com>





More information about the Containers mailing list