Page MenuHomeFreeBSD

stand/userboot: Simplify code
ClosedPublic

Authored by imp on Apr 4 2023, 6:13 PM.
Tags
None
Referenced Files
F116565385: D39414.id121348.diff
Wed, May 7, 9:48 PM
Unknown Object (File)
Thu, Apr 24, 6:10 PM
Unknown Object (File)
Wed, Apr 16, 10:18 AM
Unknown Object (File)
Mar 31 2025, 7:16 PM
Unknown Object (File)
Mar 25 2025, 10:33 AM
Unknown Object (File)
Mar 15 2025, 8:43 AM
Unknown Object (File)
Feb 25 2025, 7:01 PM
Unknown Object (File)
Feb 25 2025, 4:09 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