httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: [PATCH] Re: directory_walk performance
Date Thu, 02 Aug 2001 14:08:23 GMT
From: "Brian Pane" <bpane@pacbell.net>
Sent: Thursday, August 02, 2001 3:54 AM


> Here's a patch that implements my pre-merge optimization to
> reduce (and in some cases completely eliminate) the calls to
> ap_merge_per_dir_configs.  Its impacts on directory_walk are
> minor; all the real work happens in a new post-config-phase
> function.


Another glitch.  If the source is from the cache, we can't trust that elements
of base or add allocated will still in memory when the cache is called :(  Not
unless we also discard all decendants when we refresh the cache.  This implies
that we need a protected refcount for each of the cached elements, not only by
the request that is relying on the data, but the straight down the chain.

Bill



Mime
View raw message