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)
Tue, Apr 21, 2:18 AM
Unknown Object (File)
Mon, Apr 20, 4:48 PM
Unknown Object (File)
Mon, Apr 20, 5:15 AM
Unknown Object (File)
Thu, Apr 2, 12:57 PM
Unknown Object (File)
Mar 20 2026, 11:00 AM
Unknown Object (File)
Mar 20 2026, 3:00 AM
Unknown Object (File)
Mar 19 2026, 9:01 PM
Unknown Object (File)
Mar 17 2026, 5:53 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38150
Build 35039: arc lint + arc unit

Event Timeline

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