Messages in this thread | | | Date | Fri, 24 Oct 2008 10:37:34 -0700 | From | "Paul Menage" <> | Subject | Re: [PATCH] Add hierarchical accounting to cpu accounting controller |
| |
On Thu, Oct 23, 2008 at 10:08 PM, Bharata B Rao <bharata@linux.vnet.ibm.com> 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
| |