af_unix: Clean up unnecessary spin_lock(&sk->sk_peer_lock).
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | af_unix: Set sk_peer_pid/sk_peer_cred locklessly for new socket.net/ | +8 | 0 replies | |
| 2/2 | af_unix: Don't hold client's sk_peer_lock in copy_peercred().net/ | +2 | 0 replies | |
| 2/2 | af_unix: Don't hold client's sk_peer_lock in copy_peercred(). | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 net-next 0/2] af_unix: Clean up unnecessary spin_lock(&sk->sk_peer_lock).
Except for updating sk_peer_pid/sk_peer_cred, we do not need to hold sk_peer_lock during initialisation.
This series removes unnecessary spin_lock() and spin_unlock() in such places.
Kuniyuki Iwashima (2):
af_unix: Set sk_peer_pid/sk_peer_cred locklessly for new socket.
af_unix: Don't hold client's sk_peer_lock in copy_peercred().
net/unix/af_unix.c | 31 ++++++++++--------------------- 1 file changed, 10 insertions(+), 21 deletions(-)
Signature · 1 line
2.30.2