You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Ralf S. Engelschall" <rs...@engelschall.com> on 2000/06/29 15:51:53 UTC
Re: ap_pool support for shared memory?
In article <Pi...@koj.rkbloom.net> you wrote:
>
>> > We looked at re-vamping our memory allocation model at the beginning of
>> > 2.0, and we never really came to a good conclusion of how to do it
>> > right. If you want to submit I patch, I will answer any questions that I
>> > can to help.
>>
>> Thanks. I don't have a patch ready yet, but wanted some feedback on
>> whether such a change would possibly be accepted back into the
>> codebase.
>
> I think a patch would be VERY welcome. I would suggest that you look at
> the archives from about February of last year. You could try the hypermail
> archives. Look for the thread on which Dean was talking about using pools
> to simulate malloc and shared memory allocation. I can't remember the
> thread subject, but it was around February of last year I think.
Look also at mod_ssl's original EAPI. It contains patches to alloc.c which
allow one to place an Apache pool inside a shared memory segment. Then one can
use all ap_pxxx() functions on it.
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com