[PATCH 5/8] Changes css_set freeing mechanism to be under RCU

Li Zefan lizf at cn.fujitsu.com
Wed Aug 19 19:38:15 PDT 2009


07:58, Paul Menage wrote:
> From: Ben Blum <bblum at google.com>
> 
> 
> Changes css_set freeing mechanism to be under RCU
> 
> This is a prepatch for making the procs file writable. In order to free the
> old css_sets for each task to be moved as they're being moved, the freeing
> mechanism must be RCU-protected, or else we would have to have a call to
> synchronize_rcu() for each task before freeing its old css_set.
> 
> Signed-off-by: Ben Blum <bblum at google.com>
> Signed-off-by: Paul Menage <menage at google.com>
> 

Acked-by: Li Zefan <lizf at cn.fujitsu.com>



More information about the Containers mailing list