Page MenuHomeFreeBSD

stand/userboot: Simplify code
ClosedPublic

Authored by imp on Apr 4 2023, 6:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 22, 1:04 PM
Unknown Object (File)
May 13 2024, 3:22 AM
Unknown Object (File)
Apr 24 2024, 2:56 AM
Unknown Object (File)
Apr 6 2024, 6:47 PM
Unknown Object (File)
Mar 31 2024, 12:08 PM
Unknown Object (File)
Mar 31 2024, 7:57 AM
Unknown Object (File)
Mar 14 2024, 11:53 PM
Unknown Object (File)
Mar 14 2024, 11:50 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