On 07/30/2010 12:01 PM, Balbir Singh wrote: > * Dhaval Giani<[email protected]> [2010-07-30 09:35:32]: > >>>>> +/** >>>>> + * Dictionary of (name, value) items. >>>>> + * The dictionary keeps its order, iterator iterates in the same order >>>>> + * as the items were added there. >>>> >>>> OK, so order is important >>> >>> Yes, I think it is good idea to actually write the parameters in the >>> same order as they appear in cgconfig.conf. I'll write it more precisely >>> to the comments. >>> >> >> There is at least one case that I am aware of where this ordering will >> lead to a failure, and the ordering neds to be determined at runtime. >> Tommaso (cc'd here) has mentioned it in the past, and I agree with it. >> We need some mechanism to have dependency ordering (for example with >> the rt-cgroups). >> > > What we'll end up needing is a dependency graph. Jan does the current > patchset affect the order in which the cgroup values are set. In the > current case I think we do bottom up (reverse order), does this patch > change that?
Yes, it actually does. I was not aware that the setting was in reverse order... Wasn't it a bug? :) Jan ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
