Page MenuHomeFreeBSD

stand/userboot: Simplify code
ClosedPublic

Authored by imp on Apr 4 2023, 6:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 8, 2:17 AM
Unknown Object (File)
Sun, Oct 4, 3:00 PM
Unknown Object (File)
Fri, Oct 2, 5:01 PM
Unknown Object (File)
Wed, Sep 30, 7:59 PM
Unknown Object (File)
Wed, Sep 30, 5:50 PM
Unknown Object (File)
Sep 10 2026, 5:02 PM
Unknown Object (File)
Sep 8 2026, 8:59 AM
Unknown Object (File)
Sep 7 2026, 5:12 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