[PATCH 1/7] containers (V7): Generic container system abstracted
from cpusets code
Srivatsa Vaddagiri
vatsa at in.ibm.com
Mon Feb 12 04:33:09 PST 2007
On Mon, Feb 12, 2007 at 12:15:22AM -0800, menage at google.com wrote:
> +void container_fork(struct task_struct *child)
> +{
> + task_lock(current);
Can't this be just rcu_read_lock()?
> + child->container = current->container;
> + atomic_inc(&child->container->count);
> + task_unlock(current);
> +}
--
Regards,
vatsa
More information about the Containers
mailing list