freebsd-nq/share/man
Matt Joras 2ca45184dc Introduce EVENTHANDLER_LIST and some users.
This introduces a facility to EVENTHANDLER(9) for explicitly defining a
reference to an event handler list. This is useful since previously all
invokers of events had to do a locked traversal of the global list of
event handler lists in order to find the appropriate event handler list.
By keeping a pointer to the appropriate list an invoker can avoid this
traversal completely. The pointer is initialized with SYSINIT(9) during
the eventhandler stage. Users registering interest in events do not need
to know if the event is backed by such a list, since the list is added
to the global list of lists. As with lists that are not pre-defined it
is safe to register for the events before the list has been created.

This converts the process_* and thread_* events to using the new
facility, as these are events whose locked traversals end up showing up
significantly in ports build workflows (and presumably other workflows
with many short lived threads/procs). It may be advantageous to convert
other events to using the new facility.

The el_flags field is now unused, but leave it be so that this revision
can be MFC'd.

Reviewed by:	bdrewery, markj, mjg
Approved by:	rstone (mentor)
In collaboration with:  ian
MFC after:      4 weeks
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D12814
2017-11-09 22:51:48 +00:00
..
man1 share: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:26:40 +00:00
man3 Provide more detailed specification for major(), minor() and makedev(). 2017-08-05 07:52:15 +00:00
man4 ctl(4): Insert a new line after a sentence-ending full stop. 2017-11-08 13:06:41 +00:00
man5 Add suitable knob ifconfig_<interface>_descr for static interface description. 2017-11-08 16:53:11 +00:00
man6 Separate manual pages into their own package. 2016-01-21 16:36:33 +00:00
man7 Follow-up r318105: Don't use NO_OBJ at top-level, use NO_OBJWALK. 2017-11-03 23:22:03 +00:00
man8 Update several more URLs 2017-10-29 08:17:03 +00:00
man9 Introduce EVENTHANDLER_LIST and some users. 2017-11-09 22:51:48 +00:00
Makefile Add more SUBDIR_PARALLEL. 2015-10-15 22:55:08 +00:00