Re: [RFC][-mm] Simple stats for cpu resource controller v3

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Balaji Rao <balajirrao@...>
Cc: <dhaval@...>, <linux-kernel@...>, <containers@...>, <menage@...>, <balbir@...>, <vatsa@...>, <a.p.zijlstra@...>
Date: Friday, May 2, 2008 - 3:53 pm

On Sat, 3 May 2008 01:10:28 +0530
Balaji Rao <balajirrao@gmail.com> wrote:


I don't see any reason why we cannot run percpu_counter_init() prior to
running percpu_counter_startup().  And it is desirable that we be able to
start using the percpu-counters quite early.

Can you debug it a bit please?  It's probably some silly little thing,
perhaps fixable by calling percpu_counter_startup() earlier.


It would be better to make the core infrastructure more robust, rather
than working around problems it might have.


It's rather nice that percpu_counters internally take care of
cpu-hotplugging, and use cpu_online_map.  I was amazed at how easily that
was added.  I still expect it to break somehow..
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC][-mm] Simple stats for cpu resource controller v3, Andrew Morton, (Fri May 2, 3:53 pm)