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)
Wed, Aug 13, 9:57 PM
Unknown Object (File)
Sat, Aug 2, 8:55 PM
Unknown Object (File)
Fri, Aug 1, 4:07 PM
Unknown Object (File)
Jul 26 2025, 8:53 AM
Unknown Object (File)
Jul 16 2025, 2:46 PM
Unknown Object (File)
Jun 25 2025, 9:08 PM
Unknown Object (File)
Jun 25 2025, 12:30 PM
Unknown Object (File)
Jun 23 2025, 10:57 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
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