Re: [PATCH net-next 0/2] net: avoid some atomic ops when FASYNC is not used

2016-04-27 Thread David Miller
From: Eric Dumazet Date: Mon, 25 Apr 2016 10:39:31 -0700 > We can avoid some atomic operations on sockets not using FASYNC I guess a user can do weird things and set/clear the FASYNC bit in the middle of the SOCKWQ_ASYNC_ bit being set, and reset the FASYNC bit later and the SOCKWQ_* state is st

[PATCH net-next 0/2] net: avoid some atomic ops when FASYNC is not used

2016-04-25 Thread Eric Dumazet
We can avoid some atomic operations on sockets not using FASYNC Eric Dumazet (2): net: SOCKWQ_ASYNC_NOSPACE optimizations net: SOCKWQ_ASYNC_WAITDATA optimizations include/net/sock.h | 8 1 file changed, 8 insertions(+) -- 2.8.0.rc3.226.g39d4020