Page MenuHomeFreeBSD

stand/userboot: Simplify code
ClosedPublic

Authored by imp on Apr 4 2023, 6:13 PM.
Tags
None
Referenced Files
F81905750: D39414.diff
Sun, Dec 1, 4:38 AM
Unknown Object (File)
Fri, Nov 29, 6:30 AM
Unknown Object (File)
Thu, Nov 28, 5:34 AM
Unknown Object (File)
Thu, Nov 28, 5:34 AM
Unknown Object (File)
Sat, Nov 9, 11:30 PM
Unknown Object (File)
Sat, Nov 9, 11:47 AM
Unknown Object (File)
Sat, Nov 9, 4:01 AM
Unknown Object (File)
Fri, Nov 8, 3:18 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