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)
Mon, Apr 27, 10:17 PM
Unknown Object (File)
Mon, Apr 27, 5:48 PM
Unknown Object (File)
Sun, Apr 19, 12:38 PM
Unknown Object (File)
Sun, Apr 19, 3:31 AM
Unknown Object (File)
Sun, Apr 19, 1:59 AM
Unknown Object (File)
Thu, Apr 16, 11:06 PM
Unknown Object (File)
Apr 2 2026, 1:28 PM
Unknown Object (File)
Mar 28 2026, 1:57 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.