Welcome! Log In Create A New Profile

Advanced

Re: Could anyone can tell me why the operator in this code is '>=' ?

July 12, 2012 03:50AM
if a page size is 4096 bytes, then the ngx_slab_max_size is 2048 bytes.
When allocate 2048 bytes memory using nginx slab, it will get a total page. Is this a waste of memory?

please explain. thanks.
Subject Author Posted

Could anyone can tell me why the operator in this code is '>=' ?

mogu0401 July 10, 2012 10:01PM

Re: Could anyone can tell me why the operator in this code is '>=' ?

mogu0401 July 12, 2012 03:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 301
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready