Marc E. Fiuczynski wrote:
Hi Shailabh,

Thanks for the documentation.

As an exercise, I took the ckrm_cpu_class.c controller and tried to strip it
down to its minimum internal functionality.  This took about 30 minutes and
worked pretty much the first time I tried it, which was quite nice.  My hope
is that combined with the num_task conroller, we can come up with even
better descriptions and examples for building a controllers.

One bug is left in the ckrm_null_class.c controller.  When I
mkdir /rcfs/taskclass/foo
and then do
rmdir /rcfs/taskclass/foo

I get the following warning message:

Invalid parent 00000000 in ckrm_get_next_child.

Apparently the parres->core is null. Not sure why I get this with the null
controller and not with the cpu controller that is also loaded in my system.
Any clues.

I'll try it out now...couldn't get to it earlier.

Thanks for the null controller !
-- Shailabh


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to