Thread (9 messages) 9 messages, 4 authors, 2017-09-03

Re: [PATCH net-next 1/2] net: prepare (struct ubuf_info)->refcnt conversion

From: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Date: 2017-08-31 22:35:50

On Thu, Aug 31, 2017 at 4:30 PM, Eric Dumazet [off-list ref] wrote:
In order to convert this atomic_t refcnt to refcount_t,
we need to init the refcount to one to not trigger
a 0 -> 1 transition.

This also removes one atomic operation in fast path.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Willem de Bruijn <willemb@google.com>

Thanks, Eric.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help