Re: [PATCH] Add hierarchical accounting to cpu accounting controller

From: Paul Menage
Date: Fri Oct 24 2008 - 13:37:52 EST


On Thu, Oct 23, 2008 at 10:08 PM, Bharata B Rao
<bharata@xxxxxxxxxxxxxxxxxx> wrote:
>> > +static struct cpuacct init_cpuacct_group;
>>
>> Why are you making the root state static?
>
> Because it is not used anywhere outside sched.c. Is that a problem ?

Sorry, I wasn't clear - I mean, why are you changing it from
dynamically-allocated in cpuacct_create to statically-allocated in the
BSS?

Paul
--
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/