Kristof Provost 455969d305 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-04-24 17:42:25 +00:00
2018-04-10 19:42:50 +00:00
2018-05-19 05:27:49 +00:00
2018-03-23 16:56:44 +00:00
2017-02-06 08:49:57 +00:00
2018-05-19 05:27:49 +00:00
2018-05-19 05:27:49 +00:00
2018-05-29 00:53:53 +00:00
2018-05-19 16:44:12 +00:00
2018-03-23 16:56:44 +00:00
2018-03-23 16:56:44 +00:00
2017-07-24 03:59:50 +00:00
2017-02-28 23:42:47 +00:00