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, Apr 6, 12:24 PM
Unknown Object (File)
Sun, Mar 23, 11:57 AM
Unknown Object (File)
Fri, Mar 21, 10:55 PM
Unknown Object (File)
Feb 24 2025, 9:49 PM
Unknown Object (File)
Feb 24 2025, 7:14 PM
Unknown Object (File)
Feb 23 2025, 11:17 PM
Unknown Object (File)
Feb 23 2025, 12:15 PM
Unknown Object (File)
Jan 18 2025, 5:08 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