Open Cstardust opened 1 year ago
https://cstardust.github.io/2022/04/22/%E8%BD%AE%E5%AD%90-nginx%E5%86%85%E5%AD%98%E6%B1%A0/
nginx内存池原理 nginx内存池 内存池中分为大内存block和小内存block 大内存block的头信息在小内存块中。大内存块头信息通过链表连接起来。 内存池结构 整体 内存池123456789// 内存池struct ngx_pool_s { ngx_pool_data_t d; // 小内存Block的头信息
https://cstardust.github.io/2022/04/22/%E8%BD%AE%E5%AD%90-nginx%E5%86%85%E5%AD%98%E6%B1%A0/
nginx内存池原理 nginx内存池 内存池中分为大内存block和小内存block 大内存block的头信息在小内存块中。大内存块头信息通过链表连接起来。 内存池结构 整体 内存池123456789// 内存池struct ngx_pool_s { ngx_pool_data_t d; // 小内存Block的头信息