Page MenuHomeFreeBSD

stand/userboot: Simplify code
ClosedPublic

Authored by imp on Apr 4 2023, 6:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 2, 6:48 AM
Unknown Object (File)
Sat, Nov 1, 11:57 PM
Unknown Object (File)
Fri, Oct 31, 3:33 AM
Unknown Object (File)
Thu, Oct 30, 3:50 AM
Unknown Object (File)
Sun, Oct 26, 11:31 AM
Unknown Object (File)
Sat, Oct 25, 4:58 PM
Unknown Object (File)
Fri, Oct 24, 1:19 AM
Unknown Object (File)
Tue, Oct 21, 11:19 PM
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