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)
Oct 3 2024, 4:39 PM
Unknown Object (File)
Oct 3 2024, 3:19 PM
Unknown Object (File)
Sep 26 2024, 2:01 PM
Unknown Object (File)
Sep 26 2024, 1:05 PM
Unknown Object (File)
Sep 26 2024, 12:44 AM
Unknown Object (File)
Sep 24 2024, 5:20 AM
Unknown Object (File)
Sep 24 2024, 3:21 AM
Unknown Object (File)
Sep 23 2024, 4:00 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