Thread (5 messages) 5 messages, 3 authors, 2019-05-14

Re: [PATCH] hv_sock: Fix data loss upon socket close

From: David Miller <davem@davemloft.net>
Date: 2019-05-09 20:58:12
Also in: linux-hyperv, lkml

From: Sunil Muthuswamy <redacted>
Date: Wed, 8 May 2019 23:10:35 +0000
+static inline void hvs_shutdown_lock_held(struct hvsock *hvs, int mode)
Please do not use the inline keyword in foo.c files, let the compiler decide.

Also, longer term thing, I notice that vsock_remove_socket() is very
inefficient locking-wise.  It takes the table lock to do the placement
test, and takes it again to do the removal.  Might even be racy.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help