diff options
| author | Long Li <[email protected]> | 2020-03-31 23:21:43 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2020-04-07 17:41:16 +0000 |
| commit | eda1c54f148a86f5e64d4d1d3f62d9ea7f94c17e (patch) | |
| tree | dc8347065b8ef15630328e370a01940294c2b010 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | cifs: smbd: Update receive credits before sending and deal with credits roll ... (diff) | |
| download | kernel-eda1c54f148a86f5e64d4d1d3f62d9ea7f94c17e.tar.gz kernel-eda1c54f148a86f5e64d4d1d3f62d9ea7f94c17e.zip | |
cifs: Allocate crypto structures on the fly for calculating signatures of incoming packets
CIFS uses pre-allocated crypto structures to calculate signatures for both
incoming and outgoing packets. In this way it doesn't need to allocate crypto
structures for every packet, but it requires a lock to prevent concurrent
access to crypto structures.
Remove the lock by allocating crypto structures on the fly for
incoming packets. At the same time, we can still use pre-allocated crypto
structures for outgoing packets, as they are already protected by transport
lock srv_mutex.
Signed-off-by: Long Li <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
