Page MenuHomeFreeBSD

stand/userboot: Simplify code
ClosedPublic

Authored by imp on Apr 4 2023, 6:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 5, 3:09 AM
Unknown Object (File)
Tue, Aug 4, 8:58 AM
Unknown Object (File)
Sat, Aug 1, 2:46 PM
Unknown Object (File)
Sun, Jul 19, 11:50 AM
Unknown Object (File)
Jul 8 2026, 10:16 PM
Unknown Object (File)
Jun 28 2026, 1:25 PM
Unknown Object (File)
Jun 27 2026, 2:12 AM
Unknown Object (File)
Jun 24 2026, 4:46 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