From f81b1ed05030a3ec82158d3c89af3611b86b160a Mon Sep 17 00:00:00 2001
From: Raymond Toy <toy.raymond@gmail.com>
Date: Wed, 11 May 2016 19:19:00 -0700
Subject: [PATCH] Add comments.

---
 src/lisp/lisp.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/lisp/lisp.c b/src/lisp/lisp.c
index 425f1b736..bd81fdafa 100644
--- a/src/lisp/lisp.c
+++ b/src/lisp/lisp.c
@@ -687,6 +687,13 @@ main(int argc, const char *argv[], const char *envp[])
     if (builtin_image_flag != 0)
 	map_core_sections(argv[0]);
 #endif
+
+    /*
+     * Validate the basic lisp spaces first like the heap and static
+     * and read-only spaces.  Do this so that the stacks (if thy're
+     * relocatable) don't get randomly allocated on top of our desired
+     * lisp spaces.
+     */
     validate();
     gc_init();
     validate_stacks();
-- 
GitLab