mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-18 18:19:39 -05:00
Because there is now a memory pool for large buffers, we must also add the support for large chunks. So, if large buffers are configured, a dedicated memory pool is created to allocate large chunks. alloc_large_trash_chunk() must be used to allocate a large chunk. alloc_trash_chunk_sz() can be used to allocate a chunk with the best size. However free_trash_chunk() remains the only way to release a chunk, regular or large. In addition, large trash buffers are also created, using the same mechanism than for regular trash buffers. So three thread-local trash buffers are created. get_large_trash_chunk() must be used to get a large trash buffer. And get_trash_chunk_sz() may be used to get a trash buffer with the best size. |
||
|---|---|---|
| .. | ||
| design-thoughts | ||
| internals | ||
| lua-api | ||
| 51Degrees-device-detection.txt | ||
| acl.fig | ||
| coding-style.txt | ||
| configuration.txt | ||
| cookie-options.txt | ||
| DeviceAtlas-device-detection.txt | ||
| gpl.txt | ||
| haproxy.1 | ||
| HAProxyCommunityEdition_60px.png | ||
| intro.txt | ||
| lgpl.txt | ||
| linux-syn-cookies.txt | ||
| lua.txt | ||
| management.txt | ||
| netscaler-client-ip-insertion-protocol.txt | ||
| network-namespaces.txt | ||
| peers-v2.0.txt | ||
| peers.txt | ||
| proxy-protocol.txt | ||
| queuing.fig | ||
| regression-testing.txt | ||
| seamless_reload.txt | ||
| SOCKS4.protocol.txt | ||
| SPOE.txt | ||
| WURFL-device-detection.txt | ||