Re: [PATCH] kref: add function for reading kref value
From: Alexey Dobriyan
Date: Mon Dec 12 2011 - 10:09:13 EST
On 12/12/11, Daniel Baluta <dbaluta@xxxxxxxxxxx> wrote:
> We can easily get kref refcount value by accesing
> kref->refcount but it is better to have a function
> for this.
You're missing a point. Refcount value as-is is not interesting.
You do GET/PUT operations and you don't care.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/