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)
Sun, Jul 12, 12:24 AM
Unknown Object (File)
Thu, Jul 9, 11:12 AM
Unknown Object (File)
Sun, Jul 5, 2:34 AM
Unknown Object (File)
Sat, Jul 4, 8:28 AM
Unknown Object (File)
Sat, Jul 4, 2:05 AM
Unknown Object (File)
Fri, Jul 3, 12:43 PM
Unknown Object (File)
Fri, Jul 3, 6:09 AM
Unknown Object (File)
Thu, Jul 2, 7:46 PM
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