[Devel] Re: [ckrm-tech] [RFC][PATCH] UBC: user resource beancounters

Alan Cox alan at lxorguk.ukuu.org.uk
Tue Aug 22 04:15:13 PDT 2006


Ar Maw, 2006-08-22 am 11:57 +0200, ysgrifennodd Arjan van de Ven:
> there is one issue with the "creator pays" model: if the creator can
> decide to die/go away/respawn then you can create orphan resources. This

You cannot create orphan resources with UBC. All resources have an
owner. You might be able to construct a hypothetical scenario where I
commit all my resources to other people but I cannot create orphan
resources or leak them.

Even if I am the only user of a given UBC my counter will survive until
the last object is freed, not until I log out. If I log back in my
resource accounting is still there and nothing has escaped.

Alan






More information about the Devel mailing list