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

From: Li Zefan
Date: Wed Aug 19 2009 - 22:39:43 EST


07:58, Paul Menage wrote:
> From: Ben Blum <bblum@xxxxxxxxxx>
>
>
> 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@xxxxxxxxxx>
> Signed-off-by: Paul Menage <menage@xxxxxxxxxx>
>

Acked-by: Li Zefan <lizf@xxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/