Page MenuHomeFreeBSD

cam/iosched: Use better malloc idiom
ClosedPublic

Authored by imp on Jul 19 2024, 5:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 16, 7:49 AM
Unknown Object (File)
Wed, Sep 16, 6:35 AM
Unknown Object (File)
Tue, Sep 15, 5:08 PM
Unknown Object (File)
Sun, Sep 13, 1:18 PM
Unknown Object (File)
Thu, Sep 10, 1:27 AM
Unknown Object (File)
Wed, Sep 9, 2:07 AM
Unknown Object (File)
Wed, Sep 9, 12:56 AM
Unknown Object (File)
Tue, Sep 8, 9:55 AM
Subscribers
None

Details

Summary

Allocate to a simple poiter, use that everywhere, then return it at the
end. The code looks cleaner.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 58739
Build 55627: arc lint + arc unit

Event Timeline

imp requested review of this revision.Jul 19 2024, 5:58 PM
This revision was not accepted when it landed; it landed in state Needs Review.Jul 20 2024, 7:59 PM
This revision was automatically updated to reflect the committed changes.