freebsd-dev/sys/nlm
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
..
nlm_advlock.c Fix grammar. 2012-08-16 13:01:56 +00:00
nlm_prot_clnt.c
nlm_prot_impl.c Avoid dynamic syscall overhead for statically compiled modules. 2014-10-26 19:42:44 +00:00
nlm_prot_server.c Handle GRANTED_RES messages more gracefully: Send along a grant cookie 2009-10-07 19:50:14 +00:00
nlm_prot_svc.c Don't call svc_freereq() before svc_freeargs(). 2008-11-12 15:30:30 +00:00
nlm_prot_xdr.c
nlm_prot.h
nlm.h
sm_inter_xdr.c
sm_inter.h