<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
img {
max-width: 100%;
height: auto;
}
p.details {
font-style:italic;
color:#777
}
.footer p {
font-size:small;
color:#777
}
pre.commit-message {
white-space: pre-wrap;
}
.file-stats a {
text-decoration: none;
}
.file-stats .new-file {
color: #090;
}
.file-stats .deleted-file {
color: #B00;
}
</style>
<body>
<div class='content'>
<h3>
Raymond Toy pushed to branch master
at <a href="https://gitlab.common-lisp.net/cmucl/cmucl">cmucl / cmucl</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.common-lisp.net/cmucl/cmucl/commit/9e4c9d0a4cd95d10dfded5458694ecbe1125dc97">9e4c9d0a</a></strong>
<div>
<span>by Raymond Toy</span>
<i>at 2016-02-28T21:12:18-08:00</i>
</div>
<pre class='commit-message'>Reduce maximum heap size for Linux.
According to the message from Chisheng Huang on cmucl-help,
2016-02-27, 32-bit Ubuntu 11.10 (in VirtualBox) cannot use the full
heap space. There's something already allocated at address 0xb7b82000,
so limit the max heap to address 0xb7b80000, for a total of 1530 MB
instead of 1632 MB.
(It would be nice to be able to detect this somehow.)</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
src/lisp/x86-validate-linux.h
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://gitlab.common-lisp.net/cmucl/cmucl/commit/9e4c9d0a4cd95d10dfded5458694ecbe1125dc97#diff-0'>
<strong>
src/lisp/x86-validate-linux.h
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/lisp/x86-validate-linux.h
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/lisp/x86-validate-linux.h
</span><span style="color: #aaaaaa">@@ -22,12 +22,21 @@
</span> * 0x38000000->0x40000000 128M Control stack growing down.
* 0x40000000->0x48000000 128M Reserved for shared libraries.
* 0x58000000->0x58100000 16M Foreign Linkage Table
<span style="color: #000000;background-color: #ffdddd">- * 0x58100000->0xBE000000 1631M Dynamic Space.
- * 0xBFFF0000->0xC0000000 Unknown Linux mapping
</span><span style="color: #000000;background-color: #ddffdd">+ * 0x58100000->0xB7B00000 1530M Dynamic Space.
+ * 0xB7B82000->0xC0000000 Unknown Linux mapping, including stack
</span> *
<span style="color: #000000;background-color: #ddffdd">+ *
</span> * (Note: 0x58000000 allows us to run on a Linux system on an AMD
* x86-64. Hence we have a gap of unused memory starting at
* 0x48000000.)
<span style="color: #000000;background-color: #ddffdd">+ *
+ * It appears as if the actual upper limit depends on the particular
+ * Linux distribution. Ubuntu 11.10 (32-bit) appears to have
+ * something mapped at 0xb78b2000, so we can't allocate the dynamic
+ * space past that. That results in a max heap size of 1530 MB.
+ * However, Fedora 22 ther appears to be nothing mapped there. In
+ * fact it appears to be free all the way to 0xf7c1b000. That would
+ * allow a heap of size 2555 MB.
</span> */
#define READ_ONLY_SPACE_START (SpaceStart_TargetReadOnly)
<span style="color: #aaaaaa">@@ -48,7 +57,7 @@
</span> #define DYNAMIC_0_SPACE_START (SpaceStart_TargetDynamic)
#ifdef GENCGC
<span style="color: #000000;background-color: #ffdddd">-#define DYNAMIC_SPACE_SIZE (0x66000000) /* 1.632GB */
</span><span style="color: #000000;background-color: #ddffdd">+#define DYNAMIC_SPACE_SIZE (0x5FA00000) /* 1.530GB */
</span> #else
#define DYNAMIC_SPACE_SIZE (0x04000000) /* 64MB */
#endif
</code></pre>
<br>
</li>
</div>
<div class='footer' style='margin-top: 10px;'>
<p>
—
<br>
<a href="https://gitlab.common-lisp.net/cmucl/cmucl/commit/9e4c9d0a4cd95d10dfded5458694ecbe1125dc97">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.common-lisp.net.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.common-lisp.net/cmucl/cmucl/commit/9e4c9d0a4cd95d10dfded5458694ecbe1125dc97"}}</script>
</p>
</div>
</body>
</html>