kp de7905d658 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
2018-05-30 07:11:33 +00:00
..
2018-05-24 17:06:00 +00:00
2018-05-28 03:14:36 +00:00
2018-05-30 06:29:22 +00:00
2018-05-26 23:02:15 +00:00
2018-02-14 00:12:03 +00:00
2018-03-24 21:30:24 +00:00
2018-05-25 08:44:00 +00:00