From 48cf2320b79cbbf50f6e6196e1853613b50b462c Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 4 Jan 2010 20:49:45 -0500 Subject: [PATCH] Add comment explaining why mptable is in low memory. --- src/mptable.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mptable.c b/src/mptable.c index eba7d97..f65bbeb 100644 --- a/src/mptable.c +++ b/src/mptable.c @@ -179,7 +179,9 @@ mptable_init(void) config->length = length; config->checksum -= checksum(config, length); - // Allocate final memory locations + // Allocate final memory locations. (In theory the config + // structure can go in high memory, but Linux kernels before + // v2.6.30 crash with that.) struct mptable_config_s *finalconfig = malloc_fseg(length); struct mptable_floating_s *floating = malloc_fseg(sizeof(*floating)); if (!finalconfig || !floating) { -- 2.39.5