On 10/09, Eric W. Biederman wrote:
>
> Oleg Nesterov <[email protected]> writes:
>
> >> Someone is abusing something here, please don't change the kref api to
> >> work around someone using it improperly.
> >>
> >> So no, please don't apply this at all.
> >
> > Because this is wrong or because not kosher?
>
> Oleg it is easy enough to not use the unnecesary kref abstraction.
>
> We can directly use atomic_dec_and_test.  Since the pid namespace no
> longer fits into the narrow confines of the kref abstraction there is
> no need to use it.

Ah OK.

I misunderstood Greg as if he nacked the attempt to dec kref->refcount
without kref_put(release).

I agree we can do this without the new helper. And anyway Cyrill sent v2.

Thanks,

Oleg.

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to