summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-11-20 17:16:18 (GMT)
committer Chris Young <chris@unsatisfactorysoftware.co.uk>2016-11-20 17:16:18 (GMT)
commitd436992eb2a28e2e056e96e42072b13d89b44a0b (patch)
treed6b0dc2df0fa496470188464c4edb780eceba8b7
parent5ce3b934571906c012567d898d83c652fad30567 (diff)
downloadnetsurf-d436992eb2a28e2e056e96e42072b13d89b44a0b.tar.gz
netsurf-d436992eb2a28e2e056e96e42072b13d89b44a0b.tar.bz2
Reduce slab size to 2K as very few allocations are above that.
-rwxr-xr-xfrontends/amiga/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/amiga/memory.c b/frontends/amiga/memory.c
index cf42c1e..d86f73d 100755
--- a/frontends/amiga/memory.c
+++ b/frontends/amiga/memory.c
@@ -21,7 +21,7 @@
#include "amiga/memory.h"
#include "utils/log.h"
-ULONG __slab_max_size = 8192; /* Enable clib2's slab allocator */
+ULONG __slab_max_size = 2048; /* Enable clib2's slab allocator */
/* Special clear (ie. non-zero) */
void *ami_memory_clear_alloc(size_t size, UBYTE value)