rts: Query system rlimit for maximum address-space size
ClosedPublic

Authored by bgamari on May 30 2018, 12:23 PM.

Details

Summary

When we attempt to reserve the heap, we query the system's rlimit to establish
the starting point for our search over sizes.

Test Plan

Validate

Diff Detail

Repository
rGHC Glasgow Haskell Compiler
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bgamari created this revision.May 30 2018, 12:23 PM
bgamari edited the test plan for this revision. (Show Details)May 30 2018, 12:25 PM
bgamari updated the Trac tickets for this revision.
simonmar accepted this revision.Jun 2 2018, 2:22 AM

Ok by me if you can get it to validate.

rts/posix/OSMem.c
512

Did you mean len instead of lim here?

This revision is now accepted and ready to land.Jun 2 2018, 2:22 AM
This revision was automatically updated to reflect the committed changes.