HomeFreeBSD

stand/userboot: Simplify code

Description

stand/userboot: Simplify code

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
Reviewed by: tsoome, kevans, jhb
Differential Revision: https://reviews.freebsd.org/D39414

Details

Provenance
impAuthored on May 1 2023, 3:28 PM
Reviewer
tsoome
Differential Revision
D39414: stand/userboot: Simplify code
Parents
rG0c4183f02efc: rc.d/zfsbe: Simplify
Branches
Unknown
Tags
Unknown