[syslinux:master] gPXE: change heap size to 512K
syslinux-bot for H. Peter Anvin
hpa at zytor.com
Fri Feb 5 17:27:02 PST 2010
Commit-ID: 770f0c1ee49542fcbb857fa704c805a4dba67d25
Gitweb: http://syslinux.zytor.com/commit/770f0c1ee49542fcbb857fa704c805a4dba67d25
Author: H. Peter Anvin <hpa at zytor.com>
AuthorDate: Thu, 4 Feb 2010 11:18:36 -0800
Committer: H. Peter Anvin <hpa at zytor.com>
CommitDate: Fri, 5 Feb 2010 16:41:52 -0800
gPXE: change heap size to 512K
Change heap size from 128K to 512K to accommodate larger TCP windows.
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
gpxe/gpxe.diff | 16 ++++++++++++++++
gpxe/src/core/malloc.c | 4 ++--
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/gpxe/gpxe.diff b/gpxe/gpxe.diff
index 16ab1c9..57e5f41 100644
--- a/gpxe/gpxe.diff
+++ b/gpxe/gpxe.diff
@@ -55,3 +55,19 @@ index 7ae7eab..9dc39fc 100644
/**
* Path MTU
+diff --git a/gpxe/src/core/malloc.c b/gpxe/src/core/malloc.c
+index 8b0bc24..0153748 100644
+--- a/gpxe/src/core/malloc.c
++++ b/gpxe/src/core/malloc.c
+@@ -78,9 +78,9 @@ size_t freemem;
+ /**
+ * Heap size
+ *
+- * Currently fixed at 128kB.
++ * Currently fixed at 512kB.
+ */
+-#define HEAP_SIZE ( 128 * 1024 )
++#define HEAP_SIZE ( 512 * 1024 )
+
+ /** The heap itself */
+ static char heap[HEAP_SIZE] __attribute__ (( aligned ( __alignof__(void *) )));
diff --git a/gpxe/src/core/malloc.c b/gpxe/src/core/malloc.c
index 8b0bc24..0153748 100644
--- a/gpxe/src/core/malloc.c
+++ b/gpxe/src/core/malloc.c
@@ -78,9 +78,9 @@ size_t freemem;
/**
* Heap size
*
- * Currently fixed at 128kB.
+ * Currently fixed at 512kB.
*/
-#define HEAP_SIZE ( 128 * 1024 )
+#define HEAP_SIZE ( 512 * 1024 )
/** The heap itself */
static char heap[HEAP_SIZE] __attribute__ (( aligned ( __alignof__(void *) )));
More information about the Syslinux-commits
mailing list