Messages in this thread | ![/](/images/icornerl.gif) | | Date | Fri, 16 Jul 2004 07:32:35 -0700 | From | Greg KH <> | Subject | Re: [RFC] Refcounting of objects part of a lockfree collection |
| |
On Thu, Jul 15, 2004 at 01:32:04PM +0530, Ravikiran G Thirumalai wrote: > The naming is bad, I agree. But as Dipankar pointed out earlier, there > was no kref when I did this.
No offence meant, but lib/kref.c has been in the kernel tree since 2.6.5-rc1 which was released 4 months ago. Did refcount.h take 4 months to get released? :)
> We (Dipankar and myslef) had a discussion > and decided: > 1. I will make a patch to shrink kref and feed it to Greg > 2. Add new set kref api for lockfree refcounting -- > kref_lf_xxx. (kref_lf_get, kref_lf_get_rcu etc.,)
kref_*_rcu() as Dipankar noted is much nicer.
thanks,
greg k-h - 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/
| ![\](/images/icornerr.gif) |