1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

document MODULE_TIED behavior change

This commit is contained in:
Matt Macy 2018-07-03 23:09:09 +00:00
parent 9f7b089e95
commit 345432aab7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335917

View File

@ -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