1a0ab756e4
> More generous ROUNDUP for _LP64
29 lines
552 B
Diff
29 lines
552 B
Diff
From f71cda754740dbf7a2d6aee848a93a8239ba4480 Mon Sep 17 00:00:00 2001
|
|
From: christos <christos>
|
|
Date: Tue, 8 Mar 2016 12:47:43 +0000
|
|
Subject: [PATCH] More generous ROUNDUP for _LP64
|
|
|
|
---
|
|
tc.alloc.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/tc.alloc.c b/tc.alloc.c
|
|
index f68a8c5..86aae80 100644
|
|
--- a/tc.alloc.c
|
|
+++ b/tc.alloc.c
|
|
@@ -134,7 +134,11 @@ union overhead {
|
|
#endif
|
|
|
|
|
|
+#ifdef _LP64
|
|
+#define ROUNDUP 15
|
|
+#else
|
|
#define ROUNDUP 7
|
|
+#endif
|
|
|
|
/*
|
|
* nextf[i] is the pointer to the next free block of size 2^(i+3). The
|
|
--
|
|
2.5.5
|
|
|