Page MenuHomeFreeBSD

stand/userboot: Simplify code
ClosedPublic

Authored by imp on Apr 4 2023, 6:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 28, 12:42 PM
Unknown Object (File)
Oct 1 2024, 11:48 AM
Unknown Object (File)
Oct 1 2024, 6:16 AM
Unknown Object (File)
Oct 1 2024, 2:06 AM
Unknown Object (File)
Sep 30 2024, 10:33 AM
Unknown Object (File)
Sep 30 2024, 5:19 AM
Unknown Object (File)
Sep 25 2024, 10:56 AM
Unknown Object (File)
Sep 25 2024, 10:56 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