From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frederic Weisbecker Subject: Re: [PATCH 1/2] cgroup: Remove unnecessary task_lock before fetching css_set on migration Date: Tue, 20 Dec 2011 20:27:04 +0100 Message-ID: <20111220192703.GB17668@somewhere> References: <1324320274-18485-1-git-send-email-msb@chromium.org> <1324407673-18975-1-git-send-email-fweisbec@gmail.com> <20111220191443.GE10752@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=/mQp7xCMpSgBvbrIwRW0XSNhAGoqcT8uKlMftIpjPtI=; b=xCAnY3SKlshdIo7afX0Heh4xe8UWe3zUwhr/Ligu2P0E18xUxeUL5RvTyDdfoXs97M /KlX5WTFc9YVXpSWkva1c883nLZ0zAfkw0kuJT5o8ciCWvwYHOPvnI7gMOqfmj5KFfWT 1hV+TYl9k1yrafJM8rEnR3f+hoLrcR4ehAJ+g= Content-Disposition: inline In-Reply-To: <20111220191443.GE10752-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Tejun Heo Cc: Containers , LKML , Oleg Nesterov , Mandeep Singh Baines , Cgroups , Andrew Morton , Paul Menage On Tue, Dec 20, 2011 at 11:14:43AM -0800, Tejun Heo wrote: > Hello, Frederic. > > On Tue, Dec 20, 2011 at 08:01:12PM +0100, Frederic Weisbecker wrote: > > When we fetch the css_set of the tasks on cgroup migration, we don't need > > anymore to synchronize against cgroup_exit() that could swap the old one > > with init_css_set. Now that we are using threadgroup_lock() during > > the migrations, we don't need to worry about it anymore. > > > > Signed-off-by: Frederic Weisbecker > > Cc: Tejun Heo > > Cc: Li Zefan > > Cc: Containers > > Cc: Cgroups > > Cc: KAMEZAWA Hiroyuki > > Cc: Oleg Nesterov > > Cc: Andrew Morton > > Cc: Paul Menage > > Cc: Mandeep Singh Baines > > I like this but it doesn't apply on top of cgroup/for-3.3. It > collides with Mandeep's patch. Can you please rebase? Yeah it was made on top of last Mandeep's patch. Let me rebase on top of your branch, will resend soon. Thanks. > > Li, can you please ack? > > Thanks. > > -- > tejun