Thread (54 messages) flat view 54 messages, 8 authors, 2017-03-22

Re: [PATCH 07/17] net: convert sock.sk_refcnt from atomic_t to refcount_t

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2017-03-18 16:50:59
Also in: bridge, lkml

Eric Dumazet [off-list ref] wrote:
On Fri, 2017-03-17 at 07:42 +0000, Reshetova, Elena wrote:
quoted
Should we then first measure the actual numbers to understand what we
are talking here about? 
I would be glad to do it if you suggest what is the correct way to do
measurements here to actually reflect the real life use cases. 
How have these patches been tested in real life exactly ?

Can you quantify number of added cycles per TCP packet, where I expect
we have maybe 20 atomic operations in all layers ...
I completely agree.  I think this thing needs to default to the
existing atomic_t behaviour.

Thanks,
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help