On Tue, Oct 31, 2006 at 05:23:43PM +0530, Srivatsa Vaddagiri wrote:
>       mount -t container -ocpu container /dev/cpu
> 
>               -> Represents a hierarchy for cpu control purpose.
> 
>                  tsk->cpurc   = represent the node in the cpu
>                                 controller hierarchy. Also maintains 
>                                 resource allocation information for
>                                 this node.

I suspect this will lead to code like:

        if (something->..->options == cpu)
                tsk->cpurc = ..
        else if (something->..->options == mem)
                tsk->memrc = ..

Dont know enough of filesystems atm to say if such code is avoidable.



-- 
Regards,
vatsa

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to