From: Jong Hyuk Choi Date: Wed, 24 Nov 2004 17:46:47 +0000 (+0000) Subject: Add the omitted part from the original buddy allocator commit X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~231 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7fa860ef169524607b3efda0d109955c0299ef6c;p=openldap Add the omitted part from the original buddy allocator commit --- 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;