httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruediger Pluem <>
Subject Re: svn commit: r1783755 - /httpd/httpd/trunk/server/mpm/event/event.c
Date Mon, 20 Feb 2017 20:54:18 GMT

On 02/20/2017 02:38 PM, wrote:
> Author: ylavic
> Date: Mon Feb 20 13:38:03 2017
> New Revision: 1783755
> URL:
> Log:
> mpm_event: use a mutex for ptrans' allocator to be safe with concurrent
> creation and destruction of its subpools, like with mod_http2.

Hm, doesn't that impact performance too much in the HTTP/1.1 case? It requires the mutex to
be hold not only during
creation / destruction of subpools, but also for all apr_palloc calls that require the allocator
to provide memory to
the pool. I guess there will be no contention in these cases as only one thread will be using
the pool, but still the
lock needs to be made.



View raw message