From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753267Ab2BVBKy (ORCPT ); Tue, 21 Feb 2012 20:10:54 -0500 Received: from mail-iy0-f174.google.com ([209.85.210.174]:39036 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751830Ab2BVBKw (ORCPT ); Tue, 21 Feb 2012 20:10:52 -0500 Authentication-Results: mr.google.com; spf=pass (google.com: domain of fweisbec@gmail.com designates 10.42.142.200 as permitted sender) smtp.mail=fweisbec@gmail.com; dkim=pass header.i=fweisbec@gmail.com Date: Wed, 22 Feb 2012 02:10:48 +0100 From: Frederic Weisbecker To: Tejun Heo Cc: Mandeep Singh Baines , "Paul E. McKenney" , Li Zefan , LKML , Oleg Nesterov , Andrew Morton Subject: Re: [PATCH 2/2] cgroup: Walk task list under tasklist_lock in cgroup_enable_task_cg_list Message-ID: <20120222011045.GE13403@somewhere.redhat.com> References: <1328668647-24125-1-git-send-email-fweisbec@gmail.com> <1328668647-24125-3-git-send-email-fweisbec@gmail.com> <20120221222343.GU3090@google.com> <20120222005525.GC13403@somewhere.redhat.com> <20120222010015.GH12236@google.com> <20120222010431.GD13403@somewhere.redhat.com> <20120222010623.GJ12236@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120222010623.GJ12236@google.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 21, 2012 at 05:06:23PM -0800, Tejun Heo wrote: > On Wed, Feb 22, 2012 at 02:04:34AM +0100, Frederic Weisbecker wrote: > > > Guys, this is one time thing. It happens *once* after boot and we're > > > already holding exclusive lock. There's no reason to optimize this at > > > all. Let's just keep it simple. > > > > For now I agree. But one day the real time guys might eye that thing. > > If the latency issue ever comes up, I think the right thing to do is > just disable the lazy optimization. ie. Just chain tasks from the > beginning. Yeah agreed.