Page MenuHomeFreeBSD

stand/userboot: Simplify code
ClosedPublic

Authored by imp on Apr 4 2023, 6:13 PM.
Tags
None
Referenced Files
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
Unknown Object (File)
Wed, May 6, 9:55 AM
Unknown Object (File)
Tue, May 5, 6:56 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