rxrpc: Use irq-disabling spinlocks between app and I/O thread
authorDavid Howells <dhowells@redhat.com>
Wed, 4 Dec 2024 07:47:01 +0000 (07:47 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 9 Dec 2024 21:48:31 +0000 (13:48 -0800)
commita2ea9a9072607c2fd6442bd1ffb4dbdbf882aed7
tree06b5cb2f466316d1479762cd903a7e2a055c8c10
parent08d55d7cf3f33c730ce2694393efe16b7983a9c8
rxrpc: Use irq-disabling spinlocks between app and I/O thread

Where a spinlock is used by both the application thread and the I/O thread,
use irq-disabling locking so that an interrupt taken on the app thread
doesn't also slow down the I/O thread.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
14 files changed:
net/rxrpc/af_rxrpc.c
net/rxrpc/ar-internal.h
net/rxrpc/call_accept.c
net/rxrpc/call_object.c
net/rxrpc/conn_client.c
net/rxrpc/conn_event.c
net/rxrpc/conn_object.c
net/rxrpc/input.c
net/rxrpc/io_thread.c
net/rxrpc/peer_event.c
net/rxrpc/peer_object.c
net/rxrpc/recvmsg.c
net/rxrpc/security.c
net/rxrpc/sendmsg.c