The shares interface need two changes at the very least:

- allow shares for the default class, at any level, to be specified independent of the other named children.
- distinguish hard and soft max. The CPU controller
is currently using total_guarantee for these fields and needs a way to
set them. Other controllers can ignore.


I'm 90% through with a patch that replaces the current set of share variables with

        int softmin;            
        int mysoftmin;
        int softmax;
        int mysoftmax;
        int hardmax;
        int myhardmax;
        int total;

where the "my" variants refer to the default class' shares and total is the denominator that applies to all children and default.

Should we put this in e16 or put it off for the next release ? It would be better for it to be part of anything we propose for inclusion in Andrew's -mm tree. But it will mean some more work on the controller side and that means some delays.

Comments ? I'll post the patch once its ready anyway....

Shailabh


------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to