Page MenuHomeFreeBSD

sysctl sysctls: wire old buf before output with sysctl lock
ClosedPublic

Authored by rlibby on Nov 24 2019, 6:53 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 17, 4:24 AM
Unknown Object (File)
Dec 14 2025, 11:14 AM
Unknown Object (File)
Dec 8 2025, 2:47 PM
Unknown Object (File)
Nov 30 2025, 10:07 AM
Unknown Object (File)
Nov 26 2025, 7:17 PM
Unknown Object (File)
Nov 25 2025, 10:45 PM
Unknown Object (File)
Nov 24 2025, 6:24 PM
Unknown Object (File)
Nov 20 2025, 9:48 PM
Subscribers

Details

Summary

Several sysctl sysctls output to a user buffer while holding a
non-sleepable lock that protects the sysctl topology. They need to wire
the output buffer, or else they may try to sleep on a page fault.

Sponsored by: Dell EMC Isilon

Test Plan

With D22527, check for witness warnings after
sysctl -ao > /dev/null

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 27733
Build 25931: arc lint + arc unit