aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/DECLARE_MODULE.9
diff options
context:
space:
mode:
authorMatt Macy <mmacy@FreeBSD.org>2018-07-03 23:09:09 +0000
committerMatt Macy <mmacy@FreeBSD.org>2018-07-03 23:09:09 +0000
commit345432aab7969f38eced7635e51a276eeb6ea477 (patch)
tree257b988715f78689ce28d4f5cabc9dd906ea15c0 /share/man/man9/DECLARE_MODULE.9
parent9f7b089e95d0c643215a8c2ed6ce8f0b92646e43 (diff)
document MODULE_TIED behavior change
Notes
Notes: svn path=/head/; revision=335917
Diffstat (limited to 'share/man/man9/DECLARE_MODULE.9')
-rw-r--r--share/man/man9/DECLARE_MODULE.95
1 files changed, 5 insertions, 0 deletions
diff --git a/share/man/man9/DECLARE_MODULE.9 b/share/man/man9/DECLARE_MODULE.9
index 3ffad5b1d0eb..67cac55695ee 100644
--- a/share/man/man9/DECLARE_MODULE.9
+++ b/share/man/man9/DECLARE_MODULE.9
@@ -65,6 +65,11 @@ is identical to that on which it was built.
This declaration should be used by modules which depend on interfaces beyond
the stable kernel KBI (such as ABI emulators or hypervisors that rely on
internal kernel structures).
+.Fn DECLARE_MODULE
+will behave like
+.Fn DECLARE_MODULE_TIED
+when compiled with modules built with the kernel. This allows locks and
+other synchronization primitives to be inlined safely.
.Pp
The arguments are:
.Bl -tag -width indent