On 2/12/07, Paul Menage <[EMAIL PROTECTED]> wrote:
reaches zero. RCU is still fine for reading the container_group pointers, but it's no good for updating them, since by the time you update it it may no longer be your container_group structure, and may instead be about to be deleted as soon as the other thread's rcu_synchronize() completes.
On further reflection, this probably would be safe after all. Since we don't call put_container_group() in attach_task() until after synchronize_rcu() completes, that implies that a container_group_get() from the RCU section would have already completed. So we should be fine. Paul _______________________________________________ Devel mailing list [email protected] https://openvz.org/mailman/listinfo/devel
