Page MenuHomeFreeBSD

Export sbuf_drain to orchestrate lock and drain action
ClosedPublic

Authored by rscheff on Mar 29 2021, 9:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 25, 8:27 PM
Unknown Object (File)
May 9 2026, 6:42 PM
Unknown Object (File)
May 5 2026, 12:41 AM
Unknown Object (File)
May 5 2026, 12:40 AM
Unknown Object (File)
Apr 28 2026, 10:17 AM
Unknown Object (File)
Apr 27 2026, 9:51 PM
Unknown Object (File)
Apr 27 2026, 9:31 PM
Unknown Object (File)
Apr 21 2026, 2:18 AM
Subscribers

Details

Summary

While exporting large amounts of data to a sysctl
request, datastructures may need to be locked.

Exporting the sbuf_drain function allows the
coordination between drain events and held
locks, to avoid stalls.

Test Plan

PR: 254333
MFC after: 2 weeks

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Mar 31 2021, 3:29 PM