[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121218192155.GQ1844@htj.dyndns.org>
Date: Tue, 18 Dec 2012 11:21:55 -0800
From: Tejun Heo <tj@...nel.org>
To: Vivek Goyal <vgoyal@...hat.com>
Cc: lizefan@...wei.com, axboe@...nel.dk,
containers@...ts.linux-foundation.org, cgroups@...r.kernel.org,
linux-kernel@...r.kernel.org, ctalbott@...gle.com, rni@...gle.com
Subject: Re: [PATCH 12/12] cfq-iosched: add hierarchical cfq_group statistics
On Tue, Dec 18, 2012 at 02:18:54PM -0500, Vivek Goyal wrote:
> > Yeah, hmmm, maybe we should add another set of counters to carry stats
> > from dead ones? Avoiding hierarchical accounting overhead in hot path
> > while remembering by-gones shouldn't be that hard. Will work on that.
>
> So are you planning to migrate the stats to parent when a cgroup is being
> deleted? That should make sure we don't do hierarhical update.
Yeah, something like that. The current statistics being !hierarchical
means that we need to keep them separate from the actual stats, so
it'll end up with another set of stats. Kinda nasty but I don't see
any better way out.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists