]> mj.ucw.cz Git - libucw.git/commit
Mempool: mp_new(size) should not add size of chunk header before aligned to pages.
authorPavel Charvat <pchar@ucw.cz>
Fri, 13 Feb 2015 12:43:16 +0000 (12:43 +0000)
committerPavel Charvat <pchar@ucw.cz>
Fri, 13 Feb 2015 12:43:16 +0000 (12:43 +0000)
commit497347e5c693bdb5f6c7fb5e4d4eddafcd7644c9
tree64bc3f351217ad2e413d69e2f020354a80295d45
parent52ec3fbba752c314e7a6b1d64bb16bb0a0d47600
Mempool: mp_new(size) should not add size of chunk header before aligned to pages.

... so that mp_new(4096) allocates exactly one page, not two.
ucw/mempool.c