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)
Sat, Nov 8, 8:14 PM
Unknown Object (File)
Thu, Nov 6, 9:09 AM
Unknown Object (File)
Wed, Nov 5, 11:23 AM
Unknown Object (File)
Sun, Nov 2, 12:34 PM
Unknown Object (File)
Sun, Oct 26, 5:33 PM
Unknown Object (File)
Sun, Oct 26, 6:43 AM
Unknown Object (File)
Fri, Oct 24, 12:16 AM
Unknown Object (File)
Thu, Oct 23, 3:36 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