freebsd-dev/sys/nfs
Mateusz Guzik e015b1ab0a Avoid dynamic syscall overhead for statically compiled modules.
The kernel tracks syscall users so that modules can safely unregister them.

But if the module is not unloadable or was compiled into the kernel, there is
no need to do this.

Achieve this by adding SY_THR_STATIC_KLD macro which expands to SY_THR_STATIC
during kernel build and 0 otherwise.

Reviewed by:	kib (previous version)
MFC after:	2 weeks
2014-10-26 19:42:44 +00:00
..
bootp_subr.c Follow up to r225617. In order to maximize the re-usability of kernel code 2014-10-16 18:04:43 +00:00
krpc_subr.c Functions m_getm2() and m_get2() have different order of arguments, 2013-03-12 13:42:47 +00:00
krpc.h
nfs_common.c Use m_get() and m_getcl() instead of compat macros. 2013-03-15 10:21:18 +00:00
nfs_common.h Remove the unused nfs_curusec(). 2013-01-17 19:03:24 +00:00
nfs_diskless.c Follow up to r225617. In order to maximize the re-usability of kernel code 2014-10-16 18:04:43 +00:00
nfs_fha.c Fix/improve fhe_stats sysctl output. 2014-06-14 12:26:12 +00:00
nfs_fha.h Move most of NFS file handle affinity code out of the heavily congested 2013-12-30 20:23:15 +00:00
nfs_kdtrace.h Move sys/nfsclient/nfs_kdtrace.h to sys/nfs/nfs_kdtrace.h so 2011-05-06 20:02:19 +00:00
nfs_lock.c Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. 2011-11-07 06:44:47 +00:00
nfs_lock.h
nfs_mountcommon.h
nfs_nfssvc.c Avoid dynamic syscall overhead for statically compiled modules. 2014-10-26 19:42:44 +00:00
nfsdiskless.h
nfsproto.h
nfssvc.h Add an nfssvc() option to the kernel for the new NFS client 2012-12-02 01:16:04 +00:00
xdr_subs.h