Re: [RFC] kref, a tiny, sane, reference count object

Andi Kleen
2004-03-13T13:07:37Z

Greg KH <greg@kroah.com> writes:

> Comments are appreciated and welcomed.

I really don't see the advantage of this. Writing the same using
atomic_inc/ atomic_dec_and_test() implicitely is basically as clean,
and you will save the overhead of carrying a release() pointer
around. And the "patterns" for that are easy enough that I doubt
people will get it wrong.

-Andi