Chameleon

Chameleon Commit Details

Date:2011-07-06 10:33:58 (12 years 9 months ago)
Author:Azimutz
Commit:1121
Parents: 1120
Message:Fix ZALLOC_NODES (based on test values supplied by Meklort); no more instant reboot.
Changes:
M/trunk/i386/libsa/zalloc.c

File differences

trunk/i386/libsa/zalloc.c
4646
4747
4848
49
49
5050
5151
5252
......
6060
6161
6262
63
63
6464
6565
6666
static zmem * zalloced;
static zmem * zavailable;
static int availableNodes, allocedNodes, totalNodes;
static short availableNodes, allocedNodes, totalNodes;
static char * zalloc_base;
static char * zalloc_end;
static void (*zerror)(char *, size_t, const char *, int);
size_t zalloced_size;
#endif
#define ZALLOC_NODES32768 /* was 16384 */
#define ZALLOC_NODES32767 /* was 16384 */
static void malloc_error(char *addr, size_t size, const char *file, int line)
{

Archive Download the corresponding diff file

Revision: 1121