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)
Mon, Nov 11, 4:26 PM
Unknown Object (File)
Thu, Nov 7, 1:32 AM
Unknown Object (File)
Sep 29 2024, 11:18 PM
Unknown Object (File)
Sep 27 2024, 12:49 PM
Unknown Object (File)
Sep 20 2024, 10:00 PM
Unknown Object (File)
Sep 8 2024, 6:10 PM
Unknown Object (File)
Sep 8 2024, 2:16 AM
Unknown Object (File)
Sep 8 2024, 2:11 AM
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.