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

mogu0401 nginx-forum at
Thu Jul 12 07:50:04 UTC 2012

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.

Posted at Nginx Forum:,228488,228531#msg-228531

More information about the nginx mailing list