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
F94392008: D29481.id86627.diff
Tue, Sep 17, 3:43 AM
F94330804: D29481.diff
Mon, Sep 16, 10:30 PM
Unknown Object (File)
Mon, Sep 16, 1:17 AM
Unknown Object (File)
Fri, Sep 13, 12:36 PM
Unknown Object (File)
Sun, Sep 8, 9:45 PM
Unknown Object (File)
Wed, Sep 4, 9:30 AM
Unknown Object (File)
Sat, Aug 24, 10:42 PM
Unknown Object (File)
Sat, Aug 24, 10:42 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