freebsd-dev/sys/fs/fdescfs
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
..
fdesc_vfsops.c Make it easier for filesystems to count themselves as jail-enabled, 2018-05-04 20:54:27 +00:00
fdesc_vnops.c Eliminate the overhead of gratuitous repeated reinitialization of cap_rights 2018-05-09 18:47:24 +00:00
fdesc.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00