Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 69692 invoked by uid 500); 29 Nov 2001 02:02:52 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 69681 invoked by uid 500); 29 Nov 2001 02:02:52 -0000 Delivered-To: apmail-apr-util-cvs@apache.org Message-ID: <0a2801c17879$eac2dea0$93c0b0d0@v505> From: "William A. Rowe, Jr." To: , References: <20011129012056.1952.qmail@icarus.apache.org> Subject: Re: cvs commit: apr-util/buckets apr_buckets_file.c apr_buckets_mmap.c Date: Wed, 28 Nov 2001 20:02:27 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-OriginalArrivalTime: 29 Nov 2001 02:02:36.0810 (UTC) FILETIME=[EAC2DEA0:01C17879] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > jwoolley 01/11/28 17:20:56 > > Modified: . CHANGES > buckets apr_buckets_file.c apr_buckets_mmap.c > Log: > Reading a file bucket bigger than APR_MMAP_LIMIT (4MB) now yields > a string of 4MB mmap buckets, rather than a string of 8KB heap buckets > plus a 4MB mmap bucket. To accomodate this, the mmap bucket destroy > function explicitly deletes the apr_mmap_t after last reference > to avoid having too much of a large file mapped at once if possible. > This was made possible by the newly-added "owner" logic in the APR mmap > code. Beauty :)