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)
Thu, Oct 9, 7:23 AM
Unknown Object (File)
Mon, Sep 29, 1:30 AM
Unknown Object (File)
Sun, Sep 28, 1:07 AM
Unknown Object (File)
Sat, Sep 20, 3:52 PM
Unknown Object (File)
Fri, Sep 12, 2:25 AM
Unknown Object (File)
Aug 19 2025, 4:45 PM
Unknown Object (File)
Aug 4 2025, 6:14 AM
Unknown Object (File)
Aug 4 2025, 2:32 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 Not Applicable
Unit
Tests Not Applicable

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.