[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1156546297.3007.273.camel@localhost.localdomain>
Date: Fri, 25 Aug 2006 23:51:36 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: sekharan@...ibm.com
Cc: Kyle Moffett <mrmacman_g4@....com>, Rik van Riel <riel@...hat.com>,
ckrm-tech@...ts.sourceforge.net, Andi Kleen <ak@...e.de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Christoph Hellwig <hch@...radead.org>,
Andrey Savochkin <saw@...ru>, devel@...nvz.org,
rohitseth@...gle.com, hugh@...itas.com,
Ingo Molnar <mingo@...e.hu>, Kirill Korotaev <dev@...ru>,
Pavel Emelianov <xemul@...nvz.org>
Subject: Re: [ckrm-tech] [RFC][PATCH] UBC: user resource beancounters
Ar Gwe, 2006-08-25 am 14:37 -0700, ysgrifennodd Chandra Seetharaman:
> /* resources statistics and settings */
> struct ubparm ub_parms[UB_RESOURCES];
> };
>
> ub_parms of _all_ controllers are held in this data structure.
>
> So, keeping the beancounter data structure inside _a_ controller
> specific data structure doesn't sound right to me, as other controllers
> might also have the same need ?!
>
> Controller _owns_ only ub_parms[controller_id], not the whole
> user_beancounter, right ?
Right now I understand you
So you need
struct controller *ub_controller[UB_RESOURCES];
?
Alan
-
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