/[base]
ViewVC logotype

Revision 334375


Jump to revision: Previous Next
Author: kp
Date: Wed May 30 07:11:33 2018 UTC (6 years, 6 months ago)
Changed paths: 9
Log Message:
pf: Replace rwlock on PF_RULES_LOCK with rmlock

Given that PF_RULES_LOCK is a mostly read lock, replace the rwlock with rmlock.
This change improves packet processing rate in high pps environments.
Benchmarking by olivier@ shows a 65% improvement in pps.

While here, also eliminate all appearances of "sys/rwlock.h" includes since it
is not used anymore.

Submitted by:	farrokhi@
Differential Revision:	https://reviews.freebsd.org/D15502


Changed paths

Path Details
Directoryhead/sys/net/pfvar.h modified , text changed
Directoryhead/sys/netpfil/pf/if_pfsync.c modified , text changed
Directoryhead/sys/netpfil/pf/pf.c modified , text changed
Directoryhead/sys/netpfil/pf/pf_if.c modified , text changed
Directoryhead/sys/netpfil/pf/pf_ioctl.c modified , text changed
Directoryhead/sys/netpfil/pf/pf_lb.c modified , text changed
Directoryhead/sys/netpfil/pf/pf_norm.c modified , text changed
Directoryhead/sys/netpfil/pf/pf_osfp.c modified , text changed
Directoryhead/sys/netpfil/pf/pf_table.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27