Date: Tue, 3 Jul 2018 23:09:10 +0000 (UTC) From: Matt Macy <mmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r335917 - head/share/man/man9 Message-ID: <201807032309.w63N9AdL063471@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mmacy Date: Tue Jul 3 23:09:09 2018 New Revision: 335917 URL: https://svnweb.freebsd.org/changeset/base/335917 Log: document MODULE_TIED behavior change Modified: head/share/man/man9/DECLARE_MODULE.9 Modified: head/share/man/man9/DECLARE_MODULE.9 ============================================================================== --- head/share/man/man9/DECLARE_MODULE.9 Tue Jul 3 23:05:42 2018 (r335916) +++ head/share/man/man9/DECLARE_MODULE.9 Tue Jul 3 23:09:09 2018 (r335917) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807032309.w63N9AdL063471>