Re: [PATCH 1/9] Remove parent field in cpuacct cgroup

From: Peter Zijlstra
Date: Mon Sep 19 2011 - 14:36:07 EST


On Mon, 2011-09-19 at 13:30 -0300, Glauber Costa wrote:
> For cpuusage, I am not sure this optimization is a valid one

I was talking about cpuusage, cpuacct_charge() is called for every
ctxsw/tick.

But even for cpuacct tick stuff, wouldn't you need to sum all your child
cgroups to update the current cgroup? and that up the whole tree?
--
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/