Project

General

Profile

Bug #8651

loader: biosmem allocate heap just below 4GB

Added by Toomas Soome about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
2017-09-12
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

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.

History

#1

Updated by Electric Monk about 2 years ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

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>

Also available in: Atom PDF