Re: Documentation for krefs

2005-03-02 Thread Dmitry Torokhov
On Wed, 02 Mar 2005 21:30:06 +, Ralph Corderoy <[EMAIL PROTECTED]> wrote: > > +This way, it doesn't matter what order the two threads handle the > > +data, the put handles knowing when the data is free and releasing it. > > s/put/kref_put()/ > What about s/is free/is not referenced anymore/

Re: Documentation for krefs

2005-03-02 Thread Ralph Corderoy
Hi Corey, > Here is the documentation for krefs, with the kref_checked stuff > removed and a few other things cleaned up. Great, more documentation. :-) A few minor points... > +To use a kref, add a one to your data structures like: s/a one/one/ > +You must initialize the kr

Documentation for krefs

2005-03-02 Thread Corey Minyard
Greg, Here is the documentation for krefs, with the kref_checked stuff removed and a few other things cleaned up. -Corey Add some documentation for krefs. Signed-off-by: Corey Minyard <[EMAIL PROTECTED]> Index: linux-2.6.11-rc5-mm1/Documentation/kr