diff options
author | David Howells <dhowells@redhat.com> | 2022-10-08 16:33:50 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2022-12-01 16:36:41 +0300 |
commit | cd21effb0552d666b2f8609560be764a1a56adbe (patch) | |
tree | f74ae30d09d037c63db846ef340e0c9651c583a2 /lib/trace_readwrite.c | |
parent | 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 (diff) | |
download | linux-cd21effb0552d666b2f8609560be764a1a56adbe.tar.xz |
rxrpc: Reduce the use of RCU in packet input
Shrink the region of rxrpc_input_packet() that is covered by the RCU read
lock so that it only covers the connection and call lookup. This means
that the bits now outside of that can call sleepable functions such as
kmalloc and sendmsg.
Also take a ref on the conn or call we're going to use before we drop the
RCU read lock.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Diffstat (limited to 'lib/trace_readwrite.c')
0 files changed, 0 insertions, 0 deletions