MPMs that require multiple segments of shared memory now just use two
shared memory blocks to ensure that all of the memory is available. This removes the hack that added 80 bytes to each shared memory block. We end up needing two apr_shmem_t variables, because it is difficult to determine exactly how much memory will be needed. MM automatically tries to align the shared memory allocations, so we either need to pad the shared memory segments, or just use two different segments. This also changes APR and MM to take into account whatever memory those packages need to allocate when creating a shared memory segment. Any memory that APR and MM need is automatically added to the size requested by the program. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87153 13f79535-47bb-0310-9956-ffa450edef68
parent
78953a77
Please register or sign in to comment