Page MenuHomeFreeBSD

stand/userboot: Simplify code
ClosedPublic

Authored by imp on Apr 4 2023, 6:13 PM.
Tags
None
Referenced Files
F133001510: D39414.id121348.diff
Tue, Oct 21, 11:19 PM
Unknown Object (File)
Sat, Oct 11, 10:19 AM
Unknown Object (File)
Fri, Oct 10, 1:42 PM
Unknown Object (File)
Thu, Oct 9, 2:19 AM
Unknown Object (File)
Mon, Sep 22, 8:59 AM
Unknown Object (File)
Mon, Sep 22, 8:59 AM
Unknown Object (File)
Mon, Sep 22, 8:58 AM
Unknown Object (File)
Mon, Sep 22, 8:46 AM
Subscribers

Details

Summary

We have way more than 8k of stack for the current value of the zfs
bootonce attribute. Allocate buf on the stack rather than the
complicated malloc / free dance.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable