Page MenuHomeFreeBSD

stand/efi: Simplify code here
ClosedPublic

Authored by imp on Apr 4 2023, 6:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 24, 10:58 AM
Unknown Object (File)
Sun, Apr 14, 2:44 PM
Unknown Object (File)
Fri, Apr 12, 9:24 AM
Unknown Object (File)
Wed, Apr 10, 9:28 AM
Unknown Object (File)
Sun, Apr 7, 5:34 AM
Unknown Object (File)
Sat, Apr 6, 1:55 PM
Unknown Object (File)
Mar 17 2024, 2:57 PM
Unknown Object (File)
Mar 17 2024, 2:57 PM
Subscribers

Details

Summary

We have plenty of stack in the EFI case, so use it instead of the
complicated malloc / free dance.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Apr 4 2023, 6:13 PM
imp added a parent revision: D39414: stand/userboot: Simplify code.
imp added a child revision: D39416: stand/kboot: Simplify.

I had to stop a minute and consider if this is true, but it is; lua is the stack hog, and this is executing long before we get to any lua bits. We generally have to have way more than 8k stack at around this depth for lua to operate, so all is good.

This revision is now accepted and ready to land.Apr 12 2023, 5:10 AM
This revision was automatically updated to reflect the committed changes.