Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 75078 invoked from network); 14 May 2009 06:33:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 May 2009 06:33:50 -0000 Received: (qmail 97690 invoked by uid 500); 14 May 2009 06:33:48 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 97602 invoked by uid 500); 14 May 2009 06:33:48 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 97593 invoked by uid 99); 14 May 2009 06:33:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 06:33:48 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jfclere@gmail.com designates 209.85.221.130 as permitted sender) Received: from [209.85.221.130] (HELO mail-qy0-f130.google.com) (209.85.221.130) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2009 06:33:39 +0000 Received: by qyk36 with SMTP id 36so2041580qyk.10 for ; Wed, 13 May 2009 23:33:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=zDxmkZmkIysgY+vrEQln/e01mQIEcl1t3qNZ3fdS6ww=; b=kK/JrRP08AW1h6SONllNMC3e4LaCq8ap2lUUKZPkENPUfGfGlCUxgWgsQkmPhWEx7I tFoA2cD9KI5eUwwZZngbgMdGCM3wJTPoZij4hKIhq3TFGx9Le3ylGw6lILwSezjfycLO h5z3+qb0wLqFGRRZj/ebDATw/cASsRbsOGVeY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=rkOCEYmxd+qHiJZcpGaMax1YZRemApBc0IKK9mEpfgdgEaRk7HGeLYrx2+7x6YLgbg S46AXodb0n9VZPp/c8p8qrcNy6kiiUTly97Z+ttkMv++OxlqPnBEid5A4L5DMRPsGPKH eLZ4pFW2SF/8MpIqdaRLs14bvvg3OHsGc346I= Received: by 10.224.67.78 with SMTP id q14mr2342473qai.162.1242282798815; Wed, 13 May 2009 23:33:18 -0700 (PDT) Received: from ?192.168.1.34? ([193.153.171.99]) by mx.google.com with ESMTPS id 4sm1194984qwe.7.2009.05.13.23.33.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 13 May 2009 23:33:17 -0700 (PDT) Message-ID: <4A0BBB26.30005@gmail.com> Date: Thu, 14 May 2009 08:33:10 +0200 From: jean-frederic clere User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: svn commit: r774454 - in /httpd/httpd/trunk: include/ap_slotmem.h modules/mem/mod_plainmem.c modules/mem/mod_sharedmem.c server/slotmem.c References: <20090513180411.5E5AA2388874@eris.apache.org> <4A0B1DDF.3000500@gmail.com> <2A566FF6-08D3-465C-9466-1E08C14BF16A@jaguNET.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Jim Jagielski wrote: > > On May 13, 2009, at 3:40 PM, Jim Jagielski wrote: > >> >> On May 13, 2009, at 3:22 PM, jean-frederic clere wrote: >> >>> jim@apache.org wrote: >>>> Author: jim >>>> Date: Wed May 13 18:04:05 2009 >>>> New Revision: 774454 >>>> URL: http://svn.apache.org/viewvc?rev=774454&view=rev >>>> Log: >>>> ap_slotmem_mem no longer exists. We never provide the ptr to >>>> the actual mem. Instead, we rely solely on getter/setter >>> >>> Why? I am using it :-( >>> >> >> Oops! Sorry. We can add it back in... But what does >> ap_slotmem_mem provide that ap_slotmem_get/ap_slotmem_put? >> Again, the idea is that we abstract out the memory handling. >> So why do you need the memory pointer if you have a getter and >> setter which handles accessing... But no prob putting it back. >> > > patch reverted Thanks. The idea of ap_slotmem_mem is to provide an address in the shared area that can be used for example like the proxy_worker_stat. Using get/put would require 2 memcpy.... I hate memcpy :) Cheers Jean-Frederic >