Posted Sep 16, 2006 6:41 UTC (Sat) by devx
In reply to: Resource beancounters
Parent article: Resource beancounters
There is a small misunderstanding. Beancounters have nothing to do with tasks directly and don't do task groupping.
Look, there are a lot of resources which can be shared: pages, IPCs, files etc. Task groupping doesn't help anyhow since the same file can belong to 2 different tasks in 2 different resource groups.
So tasks if accounted are just the same kind of abstract objects just like any other are (files, sockets, ...).
And beancounters do not track and do not have a list of the objects.
Instead, beancounters do:
- beancounters are referenced to _by_ all the charged objects (not otherwise) to make uncharging correct (objects freeing can be done in arbitrary context).
to post comments)