login
Header Space

 
 

Re: [PATCH 1/7] containers (V7): Generic container system abstracted from cpusets code

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <vatsa@...>
Cc: <akpm@...>, <pj@...>, <sekharan@...>, <dev@...>, <xemul@...>, <serue@...>, <ebiederm@...>, <ckrm-tech@...>, <linux-kernel@...>, <rohitseth@...>, <mbligh@...>, <winget@...>, <containers@...>, <devel@...>
Date: Monday, February 12, 2007 - 3:26 pm

On 2/12/07, Srivatsa Vaddagiri <vatsa@in.ibm.com> wrote:

In this particular patch (which is an almost verbatim
extraction/renaming of the generic bits of the cpusets code into
container.c) it probably could - but the main patch that adds the
container_group support would lose it since we use kref to refcount
container_group objects, and hence they're freed when their refcount
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.

Paul
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [ckrm-tech] [PATCH 1/7] containers (V7): Generic contain..., Srivatsa Vaddagiri, (Sat Mar 24, 11:05 am)
Re: [ckrm-tech] [PATCH 1/7] containers (V7): Generic contain..., Srivatsa Vaddagiri, (Sat Mar 24, 8:45 pm)
Re: [ckrm-tech] [PATCH 1/7] containers (V7): Generic contain..., Srivatsa Vaddagiri, (Sat Mar 24, 10:28 pm)
Re: [ckrm-tech] [PATCH 1/7] containers (V7): Generic contain..., Srivatsa Vaddagiri, (Sun Mar 25, 1:05 am)
Re: [ckrm-tech] [PATCH 1/7] containers (V7): Generic contain..., Srivatsa Vaddagiri, (Sun Mar 25, 12:16 am)
Re: [ckrm-tech] [PATCH 1/7] containers (V7): Generic contain..., Srivatsa Vaddagiri, (Sun Mar 25, 4:21 am)
Re: [ckrm-tech] [PATCH 1/7] containers (V7): Generic contain..., Srivatsa Vaddagiri, (Thu Mar 22, 5:56 am)
Re: [ckrm-tech] [PATCH 1/7] containers (V7): Generic contain..., Srivatsa Vaddagiri, (Thu Mar 22, 6:20 am)
Re: [PATCH 1/7] containers (V7): Generic container system ab..., Srivatsa Vaddagiri, (Wed Mar 7, 8:21 am)
Re: [ckrm-tech] [PATCH 1/7] containers (V7): Generic contain..., Srivatsa Vaddagiri, (Thu Mar 8, 6:38 am)
Re: [ckrm-tech] [PATCH 1/7] containers (V7): Generic contain..., Srivatsa Vaddagiri, (Mon Mar 12, 10:19 am)
Re: [ckrm-tech] [PATCH 1/7] containers (V7): Generic contain..., Srivatsa Vaddagiri, (Wed Mar 7, 10:06 am)
Re: [PATCH 1/7] containers (V7): Generic container system ab..., Srivatsa Vaddagiri, (Mon Feb 12, 8:33 am)
Re: [PATCH 1/7] containers (V7): Generic container system ab..., Paul Menage, (Mon Feb 12, 3:26 pm)
Re: [PATCH 1/7] containers (V7): Generic container system ab..., Srivatsa Vaddagiri, (Tue Feb 13, 1:48 am)
Re: [ckrm-tech] [PATCH 1/7] containers (V7): Generic contain..., Srivatsa Vaddagiri, (Tue Feb 13, 4:16 am)
speck-geostationary