freebsd-dev/sys/dev/filemon
Matt Macy cbd92ce62e Eliminate the overhead of gratuitous repeated reinitialization of cap_rights
- Add macros to allow preinitialization of cap_rights_t.

- Convert most commonly used code paths to use preinitialized cap_rights_t.
  A 3.6% speedup in fstat was measured with this change.

Reported by:	mjg
Reviewed by:	oshogbo
Approved by:	sbruno
MFC after:	1 month
2018-05-09 18:47:24 +00:00
..
filemon_wrapper.c Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
filemon.c Eliminate the overhead of gratuitous repeated reinitialization of cap_rights 2018-05-09 18:47:24 +00:00
filemon.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00