diff options
author | 2015-10-08 22:41:12 +0000 | |
---|---|---|
committer | 2015-10-08 22:41:12 +0000 | |
commit | 4af38e7f62c96afb236cddf4be3cd6068c4773b4 (patch) | |
tree | 19813da6da34774432ee6253e93a66b0e9a817b5 | |
parent | If getaddrinfo() succeeds, then don't try look ups with other flags, even (diff) | |
download | wireguard-openbsd-4af38e7f62c96afb236cddf4be3cd6068c4773b4.tar.xz wireguard-openbsd-4af38e7f62c96afb236cddf4be3cd6068c4773b4.zip |
After replacement alloca() with alloc(), out-of-heap happened when booting
on a large block size (32K) partition. Increase the HEAP_LIMIT from
0x90000 to 0xA0000.
try this, deraadt
-rw-r--r-- | sys/arch/amd64/stand/Makefile.inc | 4 | ||||
-rw-r--r-- | sys/arch/i386/stand/Makefile.inc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/amd64/stand/Makefile.inc b/sys/arch/amd64/stand/Makefile.inc index 14fc7f6eabf..4460cf4bdaf 100644 --- a/sys/arch/amd64/stand/Makefile.inc +++ b/sys/arch/amd64/stand/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.12 2015/09/18 13:30:55 miod Exp $ +# $OpenBSD: Makefile.inc,v 1.13 2015/10/08 22:41:12 yasuoka Exp $ CFLAGS=${DEBUG} ${COPTS} -Os -Wall -Werror CFLAGS+= -fno-stack-protector -DMDRANDOM @@ -16,7 +16,7 @@ DEBUGFLAGS= # DEBUGFLAGS+=-DNFS_DEBUG -DRPC_DEBUG -DRARP_DEBUG LINKADDR=0x40120 LOADADDR=0x40000 -HEAP_LIMIT=0x90000 +HEAP_LIMIT=0xA0000 BOOTREL=0x60000 BOOTMAGIC=0xc001d00d #ROM_SIZE=32768 diff --git a/sys/arch/i386/stand/Makefile.inc b/sys/arch/i386/stand/Makefile.inc index fe16ebfac99..a36faef6bdc 100644 --- a/sys/arch/i386/stand/Makefile.inc +++ b/sys/arch/i386/stand/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.46 2015/09/18 13:30:56 miod Exp $ +# $OpenBSD: Makefile.inc,v 1.47 2015/10/08 22:41:12 yasuoka Exp $ CFLAGS=${DEBUG} ${COPTS} -Os -Wall -Werror CFLAGS+= -fno-stack-protector -DMDRANDOM @@ -16,7 +16,7 @@ DEBUGFLAGS= # DEBUGFLAGS+=-DNFS_DEBUG -DRPC_DEBUG -DRARP_DEBUG LINKADDR=0x40120 LOADADDR=0x40000 -HEAP_LIMIT=0x90000 +HEAP_LIMIT=0xA0000 BOOTREL=0x60000 BOOTMAGIC=0xc001d00d #ROM_SIZE=32768 |