From 345432aab7969f38eced7635e51a276eeb6ea477 Mon Sep 17 00:00:00 2001 From: Matt Macy Date: Tue, 3 Jul 2018 23:09:09 +0000 Subject: [PATCH] document MODULE_TIED behavior change --- share/man/man9/DECLARE_MODULE.9 | 5 +++++ 1 file changed, 5 insertions(+) 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