Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 45374 invoked by uid 500); 13 Mar 2002 15:01:43 -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: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 45355 invoked from network); 13 Mar 2002 15:01:43 -0000 From: "Sander Striker" To: Cc: Subject: RE: [PATCH] First cut at factoring out the pools allocator Date: Wed, 13 Mar 2002 16:06:02 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 In-Reply-To: <3C8F691E.90202@cnet.com> Importance: Normal X-Rcpt-To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > From: Brian Pane [mailto:brian.pane@cnet.com] > Sent: 13 March 2002 15:59 > Justin Erenkrantz wrote: > > >On Tue, Mar 05, 2002 at 10:02:55AM +0100, Sander Striker wrote: > > > >>Hi, > >> > >>Below a patch to apr and a patch to httpd > >>to factor out the allocator from pools. It > >>is only the first cut, so crucial details > >>like documentation are missing. > >> > >>I'd like some feedback on the general idea > >>though. > >> > >>Hopefully this helps when implementing the > >>bucket allocator. > >> > > > >+1. I like the API. Brian's suggestion is goodness, but shouldn't > >stop this from going in. > > > > +1. I think we'll need to implement my suggestion (a variant > of the allocation function that reserves space for the internal > header struct but still stays within 8KB) in support of the > bucket free lists, but that that's a simple, additive change > that we can put in later--so +1 on committing Sander's new > allocator API now. Ok, I'll try and get it in tonight. I'm not entirely sure we need the extra allocation function though, but we can decide on that later. Sander