Add CTLFLAG_NEEDGIANT flag (modelled after D_NEEDGIANT) that will be used to mark sysctls that still require Giant.
Rewrite sysctl_handle_string() to use internal locking instead of grabbing Giant.
Differential D23378
sysctl(9): add CTLFLAG_NEEDGIANT flag Authored by kaktus on Jan 27 2020, 12:00 AM. Tags None Referenced Files
Details
Add CTLFLAG_NEEDGIANT flag (modelled after D_NEEDGIANT) that will be used to mark sysctls that still require Giant. Rewrite sysctl_handle_string() to use internal locking instead of grabbing Giant.
Diff Detail
Event Timeline
Comment Actions Address @kib comments.
Comment Actions Address comments.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||