httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cvs commit: httpd-2.0/modules/loggers mod_logio.c
Date Fri, 01 Nov 2002 20:50:29 GMT
On Fri, Nov 01, 2002 at 06:07:53PM -0000, wrowe@apache.org wrote:
>...
>   +++ BaseAddr.ref	1 Nov 2002 18:07:52 -0000	1.22
>   @@ -60,3 +60,4 @@
>    mod_authz_groupfile  0x6FB10000    0x00010000
>    mod_authz_host       0x6FB00000    0x00010000
>    mod_authz_user       0x6FAF0000    0x00010000
>   +mod_logio            0x6FAE0000    0x00010000

For efficiency purposes, those numbers should be as close together as
possible. There is some cost to the gaps between a module and the next one
(and/or the overall mapped space). If in the future, a module grows and
causes an overlap, then it merely causes a relocation at load time. So there
isn't a worry about that.

I don't recall how to find the size of the module; only that the gaps are to
be avoided. You could also set yourself a periodic six month reminder to
reexamine the sizes.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message