[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6599ad830810241037h575ec17bgb43f750d99bd1518@mail.gmail.com>
Date: Fri, 24 Oct 2008 10:37:34 -0700
From: "Paul Menage" <menage@...gle.com>
To: bharata@...ux.vnet.ibm.com
Cc: linux-kernel@...r.kernel.org,
"Srivatsa Vaddagiri" <vatsa@...ux.vnet.ibm.com>,
"Peter Zijlstra" <a.p.zijlstra@...llo.nl>,
"Ingo Molnar" <mingo@...e.hu>
Subject: Re: [PATCH] Add hierarchical accounting to cpu accounting controller
On Thu, Oct 23, 2008 at 10:08 PM, Bharata B Rao
<bharata@...ux.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
--
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