Re: [PATCH 02/14] net: sched: change type of reference and bind counters

From: Marcelo Ricardo Leitner
Date: Sat May 19 2018 - 16:09:09 EST


On Mon, May 14, 2018 at 05:27:03PM +0300, Vlad Buslov wrote:
> Change type of action reference counter to refcount_t.
>
> Change type of action bind counter to atomic_t.
> This type is used to allow decrementing bind counter without testing
> for 0 result.

... and in what does not testing for 0 result helps?

Marcelo