Re: [PATCH 2/2] cgroup: Walk task list under tasklist_lock incgroup_enable_task_cg_list

From: Frederic Weisbecker
Date: Tue Feb 21 2012 - 20:10:52 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/