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, Aug 17, 12:38 AM
Unknown Object (File)
Thu, Aug 14, 10:50 PM
Unknown Object (File)
Tue, Aug 5, 3:43 AM
Unknown Object (File)
Jul 20 2025, 12:26 AM
Unknown Object (File)
Jul 12 2025, 9:57 AM
Unknown Object (File)
Jun 19 2025, 10:53 PM
Unknown Object (File)
Jun 13 2025, 8:11 AM
Unknown Object (File)
Jun 12 2025, 8:09 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