diff options
author | Mark Johnston <[email protected]> | 2020-09-18 08:45:54 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-09-21 09:49:50 -0700 |
commit | 6bdb09510bd27038ee85c372035b27120a4f46c6 (patch) | |
tree | a764d927190bee60cceb21537d7f6ac9503d9b86 /include/sys/lua/luaconf.h | |
parent | c50f3c902fa565379e005fa9d0431f17f65f2a04 (diff) |
Annontate FreeBSD sysctls with CTLFLAG_MPSAFE
Without this, the sysctl system calls will acquire a global lock before
invoking the handler. This is noticeable in some situations when
running top(1). The global lock is mostly vestigal but continues to see
some use and so contention is still a problem; until the default sense
of the MPSAFE flag changes, we have to annotate each and every handler.
Reviewed-by: Allan Jude <[email protected]>
Reviewed-by: Ryan Moeller <[email protected]>
Signed-off-by: Mark Johnston <[email protected]>
Closes #10836
Diffstat (limited to 'include/sys/lua/luaconf.h')
0 files changed, 0 insertions, 0 deletions