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, Sep 26, 10:23 PM
Unknown Object (File)
Tue, Sep 23, 1:11 AM
Unknown Object (File)
Tue, Sep 16, 5:25 AM
Unknown Object (File)
Sep 12 2025, 7:25 PM
Unknown Object (File)
Sep 10 2025, 7:48 PM
Unknown Object (File)
Sep 10 2025, 4:46 PM
Unknown Object (File)
Sep 10 2025, 1:23 AM
Unknown Object (File)
Sep 8 2025, 6:19 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