Page MenuHomeFreeBSD

stand/userboot: Simplify code
ClosedPublic

Authored by imp on Apr 4 2023, 6:13 PM.
Tags
None
Referenced Files
F157746165: D39414.id119845.diff
Sun, May 24, 7:04 PM
F157746164: D39414.id119845.diff
Sun, May 24, 7:04 PM
Unknown Object (File)
Sun, May 17, 11:09 PM
Unknown Object (File)
Sun, May 17, 11:08 PM
Unknown Object (File)
Sun, May 17, 11:08 PM
Unknown Object (File)
Sun, May 17, 10:48 PM
Unknown Object (File)
Fri, May 15, 5:44 PM
Unknown Object (File)
Thu, May 7, 9:25 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