freebsd-dev/sys
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
..
amd64 Change the type of the first argument to the I/O emulation handlers to 2014-10-26 19:03:06 +00:00
arm Remove the ARM_DEVICE_MULTIPASS option and make its effect be the default. 2014-10-26 18:30:35 +00:00
boot Provide a character device allowing us to access BERI memory regions. 2014-10-22 11:30:03 +00:00
bsm
cam Fix CF ERASE breakage caused by 268205. 2014-10-26 18:41:01 +00:00
cddl This change addresses 4 bugs in ZFS exposed by Richard Kojedzinszky's 2014-10-25 17:42:44 +00:00
compat Avoid dynamic syscall overhead for statically compiled modules. 2014-10-26 19:42:44 +00:00
conf Remove the ARM_DEVICE_MULTIPASS option and make its effect be the default. 2014-10-26 18:30:35 +00:00
contrib Update the OFED Linux compatibility layer and 2014-10-15 13:40:29 +00:00
crypto Put the aesni_cipher_setup() and aesni_cipher_process() functions into 2014-06-24 06:55:49 +00:00
ddb ddb: ANSI-fy function declarations. 2014-10-12 18:01:52 +00:00
dev Set the caching mode for the usermode mapping of the HPET registers 2014-10-25 21:01:50 +00:00
fs Clip the settings for the NFS rsize, wsize mount options 2014-10-22 22:27:51 +00:00
gdb Add support for gdb's memory searching capabilities to our in-kernel gdb 2014-09-05 16:40:47 +00:00
geom Revert somewhat hackish geom_disk optimization, committed as part of r256880, 2014-10-25 15:16:19 +00:00
gnu reiserfs: Use signed i_nlink 2014-09-25 19:10:32 +00:00
i386 By the time that pmap_init() runs, vm_phys_segs[] has been initialized. Obtaining 2014-10-26 17:56:47 +00:00
isa
kern Avoid dynamic syscall overhead for statically compiled modules. 2014-10-26 19:42:44 +00:00
kgssapi Avoid dynamic syscall overhead for statically compiled modules. 2014-10-26 19:42:44 +00:00
libkern Add a complete implementation of MurmurHash3. Tweak both implementations 2014-10-18 22:15:11 +00:00
mips Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
modules Move the ACPI PM timer emulation into vmm.ko. 2014-10-26 04:44:28 +00:00
net Remove redundant check and m_pullup() call. 2014-10-24 13:34:22 +00:00
net80211 Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
netgraph Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
netinet Avoid dynamic syscall overhead for statically compiled modules. 2014-10-26 19:42:44 +00:00
netinet6 Remove redundant check and m_pullup() call. 2014-10-24 13:34:22 +00:00
netipsec Use a static callout to drive key_timehandler() instead of timeout(). 2014-10-23 20:43:16 +00:00
netnatm
netpfil Bump default dynamic limit to 16k entries. 2014-10-24 13:57:15 +00:00
netsmb
nfs Avoid dynamic syscall overhead for statically compiled modules. 2014-10-26 19:42:44 +00:00
nfsclient Follow up to r225617. In order to maximize the re-usability of kernel code 2014-10-16 18:04:43 +00:00
nfsserver Change NFS readdir() to only ignore cookies preceding the given offset for 2014-07-01 20:00:35 +00:00
nlm Avoid dynamic syscall overhead for statically compiled modules. 2014-10-26 19:42:44 +00:00
ofed Update the network interface baudrate integer according to the actual 2014-10-24 16:39:01 +00:00
opencrypto Fix build for kernels without COMPAT_FREEBSD32. 2014-09-22 17:32:27 +00:00
pc98 Add COMPAT_FREEBSD9 and COMPAT_FREEBSD10 options to wrap code that 2014-10-24 19:58:24 +00:00
powerpc Add COMPAT_FREEBSD9 and COMPAT_FREEBSD10 options to wrap code that 2014-10-24 19:58:24 +00:00
rpc Merge the NFSv4.1 server code in projects/nfsv4.1-server over 2014-07-01 20:47:16 +00:00
security Replace dev_clone with cdevpriv(9) KPI in audit_pipe code. 2014-08-20 16:04:30 +00:00
sparc64 Add COMPAT_FREEBSD9 and COMPAT_FREEBSD10 options to wrap code that 2014-10-24 19:58:24 +00:00
sys Avoid dynamic syscall overhead for statically compiled modules. 2014-10-26 19:42:44 +00:00
teken
tools Allow the make_dtb script to work outside of a "make buildkernel" context 2014-08-30 22:39:15 +00:00
ufs Provide vfs suspension support only for filesystems which need it, take 2014-10-20 18:00:50 +00:00
vm Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
x86 xen: implement the privcmd user-space device 2014-10-22 17:07:20 +00:00
xdr
xen xen: implement the privcmd user-space device 2014-10-22 17:07:20 +00:00
Makefile Remove "pci" from CSCOPEDIRS. 2014-09-23 06:32:19 +00:00