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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <menage@...>
Cc: <akpm@...>, <pj@...>, <sekharan@...>, <dev@...>, <xemul@...>, <serue@...>, <ebiederm@...>, <ckrm-tech@...>, <linux-kernel@...>, <rohitseth@...>, <mbligh@...>, <winget@...>, <containers@...>, <devel@...>
Date: Wednesday, March 7, 2007 - 8:21 am

On Mon, Feb 12, 2007 at 12:15:22AM -0800, menage@google.com wrote:

Which specific portion of oom code cares abt container structure being
intact? 

If I understand correctly, only cpuset requires this double locking.
More specifically, cpusets cares about walking cpuset->parent list
safely with callback_mutex held correct?

If that is the case, I think we can push container_lock entirely inside 
cpuset.c and not have others exposed to this double-lock complexity.
This is possible because cpuset.c (build on top of containers) still has
cpuset->parent and walking cpuset->parent list safely can be made
possible with a second lock which is local to only cpuset.c.

-- 
Regards,
vatsa
-
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..., 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)