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)
Jun 25 2024, 4:18 PM
Unknown Object (File)
Jun 20 2024, 9:24 AM
Unknown Object (File)
Jun 20 2024, 5:58 AM
Unknown Object (File)
May 27 2024, 7:53 PM
Unknown Object (File)
Apr 27 2024, 3:54 AM
Unknown Object (File)
Apr 23 2024, 5:08 PM
Unknown Object (File)
Apr 21 2024, 11:59 PM
Unknown Object (File)
Feb 11 2024, 8:35 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