Bug #8651
loader: biosmem allocate heap just below 4GB
Start date:
2017-09-12
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
The current biosmem code is walking bios smap entries and looking for smap entry just below 4GB line, if there is such entry, its base and size is set for heap base and size. Instead of entry base, we should use last HEAP_MIN (currently 64MB) bytes just below 4GB, to make maximum space for kernel and modules.
Updated by Electric Monk over 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 1ed324dd33fca02192d31bad13a72f6531ad4918
commit 1ed324dd33fca02192d31bad13a72f6531ad4918 Author: Toomas Soome <tsoome@me.com> Date: 2017-09-19T18:32:14.000Z 8651 loader: biosmem allocate heap just below 4GB Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Ken Mays <maybird1776@yahoo.com> Approved by: Dan McDonald <danmcd@joyent.com>