Re: [PATCH] coallocate socket_wq with socket itself

2019-07-08 Thread David Miller
From: Al Viro Date: Fri, 5 Jul 2019 20:14:16 +0100 > socket->wq is assign-once, set when we are initializing both > struct socket it's in and struct socket_wq it points to. As the > matter of fact, the only reason for separate allocation was the > ability to RCU-delay freeing of socket_wq. RCU-

[PATCH] coallocate socket_wq with socket itself

2019-07-05 Thread Al Viro
socket->wq is assign-once, set when we are initializing both struct socket it's in and struct socket_wq it points to. As the matter of fact, the only reason for separate allocation was the ability to RCU-delay freeing of socket_wq. RCU-delaying the freeing of socket itself gets rid of that need,