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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [ckrm-tech] [RFC][PATCH] UBC: user resource beancounters
- From: Chandra Seetharaman <[email protected]>
- Re: [ckrm-tech] [RFC][PATCH] UBC: user resource beancounters
- References:
- [RFC][PATCH] UBC: user resource beancounters
- From: Kirill Korotaev <[email protected]>
- Re: [ckrm-tech] [RFC][PATCH] UBC: user resource beancounters
- From: Chandra Seetharaman <[email protected]>
- Re: [ckrm-tech] [RFC][PATCH] UBC: user resource beancounters
- From: Kirill Korotaev <[email protected]>
- Re: [ckrm-tech] [RFC][PATCH] UBC: user resource beancounters
- From: Chandra Seetharaman <[email protected]>
- Re: [ckrm-tech] [RFC][PATCH] UBC: user resource beancounters
- From: Rohit Seth <[email protected]>
- Re: [ckrm-tech] [RFC][PATCH] UBC: user resource beancounters
- From: Chandra Seetharaman <[email protected]>
- Re: [ckrm-tech] [RFC][PATCH] UBC: user resource beancounters
- From: Rohit Seth <[email protected]>
- Re: [ckrm-tech] [RFC][PATCH] UBC: user resource beancounters
- From: Chandra Seetharaman <[email protected]>
- Re: [ckrm-tech] [RFC][PATCH] UBC: user resource beancounters
- From: Alan Cox <[email protected]>
- Re: [ckrm-tech] [RFC][PATCH] UBC: user resource beancounters
- From: Chandra Seetharaman <[email protected]>
- Re: [ckrm-tech] [RFC][PATCH] UBC: user resource beancounters
- From: Kyle Moffett <[email protected]>
- Re: [ckrm-tech] [RFC][PATCH] UBC: user resource beancounters
- From: Chandra Seetharaman <[email protected]>
- Re: [ckrm-tech] [RFC][PATCH] UBC: user resource beancounters
- From: Alan Cox <[email protected]>
- Re: [ckrm-tech] [RFC][PATCH] UBC: user resource beancounters
- From: Chandra Seetharaman <[email protected]>
- [RFC][PATCH] UBC: user resource beancounters
- Prev by Date: Linux black screen problem with kernel 2.6.16.23 -- out of (low) memory?
- Next by Date: [PATCH] IPV6 : segmentation offload not set correctly on TCP children
- Previous by thread: Re: [ckrm-tech] [RFC][PATCH] UBC: user resource beancounters
- Next by thread: Re: [ckrm-tech] [RFC][PATCH] UBC: user resource beancounters
- Index(es):