From 7fa860ef169524607b3efda0d109955c0299ef6c Mon Sep 17 00:00:00 2001 From: Jong Hyuk Choi Date: Wed, 24 Nov 2004 17:46:47 +0000 Subject: [PATCH] Add the omitted part from the original buddy allocator commit --- servers/slapd/connection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 6b1c055a22..92874ace14 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -946,7 +946,7 @@ connection_operation( void *ctx, void *arg_v ) #endif memsiz = SLAP_SLAB_SIZE; - memctx = slap_sl_mem_create( memsiz, ctx ); + memctx = slap_sl_mem_create( memsiz, SLAP_SLAB_STACK, ctx ); op->o_tmpmemctx = memctx; op->o_tmpmfuncs = &slap_sl_mfuncs; if ( tag != LDAP_REQ_ADD && tag != LDAP_REQ_MODIFY ) { @@ -1704,7 +1704,7 @@ connection_fake_init( conn->c_peer_name = slap_empty_bv; /* set memory context */ - op->o_tmpmemctx = slap_sl_mem_create( SLAP_SLAB_SIZE, ctx ); + op->o_tmpmemctx = slap_sl_mem_create(SLAP_SLAB_SIZE, SLAP_SLAB_STACK, ctx); op->o_tmpmfuncs = &slap_sl_mfuncs; op->o_threadctx = ctx; -- 2.39.5