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 kaktus on Jan 27 2020, 12:00 AM. Authored by Tags None Referenced Files
Subscribers
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.
|