diff options
| author | Kristof Provost <kp@FreeBSD.org> | 2022-06-23 20:35:29 +0000 |
|---|---|---|
| committer | Kristof Provost <kp@FreeBSD.org> | 2022-07-19 03:27:20 +0000 |
| commit | 0361f165f2193a098cfbfeef3a58ec2f1eaac0a1 (patch) | |
| tree | 8f6082ca374ba9b0b34062781f9c50c98c2a4d51 /sys/dev/evdev | |
| parent | 4eaaacc75535befdb9894cca4e0d8da376328fa4 (diff) | |
ipsec: replace SECASVAR mtx by rmlock
This mutex is a significant point of contention in the ipsec code, and
can be relatively trivially replaced by a read-mostly lock.
It does require a separate lock for the replay protection, which we do
here by adding a separate mutex.
This improves throughput (without replay protection) by 10-15%.
MFC after: 3 weeks
Sponsored by: Orange Business Services
Differential Revision: https://reviews.freebsd.org/D35763
Diffstat (limited to 'sys/dev/evdev')
0 files changed, 0 insertions, 0 deletions
