[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apr-dev
Subject:    Re: cvs commit: apr-util/buckets apr_buckets_file.c apr_buckets_mmap.c
From:       "William A. Rowe, Jr." <wrowe () covalent ! net>
Date:       2001-11-29 2:02:27
[Download RAW message or body]

> 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 :)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic