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
F62097258: D29481.id86480.diff
Wed, May 31, 6:47 PM
Unknown Object (File)
Mon, May 15, 5:17 AM
Unknown Object (File)
Apr 6 2023, 6:14 PM
Unknown Object (File)
Mar 17 2023, 2:41 PM
Unknown Object (File)
Mar 17 2023, 2:41 PM
Unknown Object (File)
Mar 17 2023, 2:40 PM
Unknown Object (File)
Mar 10 2023, 1:12 AM
Unknown Object (File)
Jan 27 2023, 4:13 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