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)
Fri, May 30, 2:44 PM
Unknown Object (File)
Fri, May 23, 1:18 PM
Unknown Object (File)
Fri, May 23, 6:26 AM
Unknown Object (File)
Thu, May 22, 1:36 AM
Unknown Object (File)
Fri, May 2, 12:14 PM
Unknown Object (File)
Fri, May 2, 1:52 AM
Unknown Object (File)
Apr 30 2025, 7:46 AM
Unknown Object (File)
Apr 28 2025, 2:20 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