From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH 1/2] cgroup: Remove unnecessary task_lock before fetching css_set on migration Date: Tue, 20 Dec 2011 11:14:43 -0800 Message-ID: <20111220191443.GE10752@google.com> References: <1324320274-18485-1-git-send-email-msb@chromium.org> <1324407673-18975-1-git-send-email-fweisbec@gmail.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=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=pGwv+rYMuHqvx11YlQ57IxQnkyCIGQFicXZ26BoiDoo=; b=THLHYetsCRuaPTTqbXtELZXWcUKnAExO9z77SMgaNJjQ3QX3YqmlzqYb33P7ONzKVY p35d3w8H7+8hPbG2yac+jIi8pOezkHjBEoCSFQIY+1pUUxaQrOLWfwyGd+Bs20CJW9M0 nBTtExmD7nulVzlK4QslIup/nHouqTFfIXdZc= Content-Disposition: inline In-Reply-To: <1324407673-18975-1-git-send-email-fweisbec-Re5JQEeQqe8AvxtiuMwx3w@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: Frederic Weisbecker Cc: Containers , LKML , Oleg Nesterov , Mandeep Singh Baines , Cgroups , Andrew Morton , Paul Menage 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? Li, can you please ack? Thanks. -- tejun