From d3efe97a2e260fddced7c878a4d5bb1241c48f33 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 7 Jul 2010 10:30:17 +0000 Subject: [PATCH] Reduced initial VM stack size to fit into zend_mm segment and eliminate extra segment allocation --- Zend/zend_execute.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_execute.h b/Zend/zend_execute.h index d0adabab066..1672ee63564 100644 --- a/Zend/zend_execute.h +++ b/Zend/zend_execute.h @@ -161,7 +161,7 @@ ZEND_API int zval_update_constant_no_inline_change(zval **pp, void *arg TSRMLS_D ZEND_API int zval_update_constant_ex(zval **pp, void *arg, zend_class_entry *scope TSRMLS_DC); /* dedicated Zend executor functions - do not use! */ -#define ZEND_VM_STACK_PAGE_SIZE ((64 * 1024) - 64) +#define ZEND_VM_STACK_PAGE_SIZE ((16 * 1024) - 16) struct _zend_vm_stack { void **top;