lkml.org 
[lkml]   [2004]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] Add kref_read and kref_put_last primitives
On Tue, Jul 27, 2004 at 12:39:15PM +0530, Ravikiran G Thirumalai wrote:
> struct kref does just that. The kref api are just abstractions for
> refcounting which i presume is recommended for all refcounters in the
> kernel. I am just converting the struct file.f_count refcounter
> to use kref with this patch.

So what exactly does the API make easier? APIs for the APIs sense don't
make much sense.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.292 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site