This patch set extends generic containers with support for fork/exit callbacks, and uses this to implement the ResGroups core and example resource controller. There's still some work to be done on synchronization rules, so it's a work-in-progress, but it demonstrates the approach that I have in mind.
Each RG resource controller becomes an independent container subsystem; the RG core is essentially a library that the resource controllers can use to provide the RG API to userspace. Rather than a single shares and stats file in each group, there's a <controller>_shares and a <controller>_stats file, each linked to the appropriate resource controller. The example numtasks resource controller is almost unchanged; the primary differences involve locking, the details of which are still to be finalized. --- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech