Quoting Paul Menage ([EMAIL PROTECTED]): > On 2/20/07, Eric W. Biederman <[EMAIL PROTECTED]> wrote: > >All that is necessary to have a group of processes do something > >in an unnamed fashion is to hang a pointer off of the task_struct. > >That's easy. > > Right, adding a pointer to task_struct is easy. Configuring how/when > to not directly inherit it from the parent, or to change it for a > running task, or configuring state associated with the thing that the > pointer is pointing to, naming that group, and determining which group > a given process is assocaited with, is something that's effectively > repeated boiler plate for each different subsystem, and which can be > accomplished more generically via an abstraction like my containers > patch.
Eric, what you gain with this patchset is, one very simple container subsystem can tie a container to a cpu, another can limit it's RSS, and suddenly you can mount -t container -o ns,rss,cpuwhatever ns /container And each virtual server you create by unsharing can get automatic cpu and rss controls. That is worthwhile imo. -serge ------------------------------------------------------------------------- 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