freebsd-dev/share/man
Alexander V. Chernikov 4dab1a18a3 Make PFIL use per-VNET lock instead of per-AF lock. Since most used packet
filters (ipfw and PF) use the same ruleset with the same lock for both
AF_INET and AF_INET6 there is no need in more fine-grade locking.
However, it is possible to request personal lock by specifying
PFIL_FLAG_PRIVATE_LOCK flag in pfil_head structure (see pfil.9 for
more details).

Export PFIL lock via rw_lock(9)/rm_lock(9)-like API permitting pfil consumers
to use this lock instead of own lock. This help reducing locks on main
traffic path.

pfil_assert() is currently not implemented due to absense of rm_assert().
Waiting for some kind of r234648 to be merged in HEAD.

This change is part of bigger patch reducing routing locking.

Sponsored by:	Yandex LLC
Reviewed by:	glebius, ae
OK'd by:	silence on net@
MFC after:	3 weeks
2012-10-22 14:10:17 +00:00
..
man1 Add ATF to the build. This is may be a bit rought around the egdes, 2012-10-22 01:18:41 +00:00
man3 siginfo(3): Document TRAP_DTRACE signal code. 2012-09-14 22:12:04 +00:00
man4 Provide example for newly-added NG_NETFLOW_V9INFO_TYPE 2012-10-22 12:22:56 +00:00
man5 Update after adding WITHOUT_ATF. 2012-10-22 02:05:09 +00:00
man6
man7 Add ATF to the build. This is may be a bit rought around the egdes, 2012-10-22 01:18:41 +00:00
man8 Fixes to man8 groff mandoc style, usage mistakes, or typos. 2012-05-24 02:24:03 +00:00
man9 Make PFIL use per-VNET lock instead of per-AF lock. Since most used packet 2012-10-22 14:10:17 +00:00
Makefile