Commit 2732f09b authored by Philip Carns's avatar Philip Carns

page align bulk pool buffers

parent ef9357a8
......@@ -53,8 +53,8 @@ hg_return_t margo_bulk_pool_create(
goto err;
}
p->buf = calloc(count, size);
if (p->buf == NULL)
ret = posix_memalign(&p->buf, 4096, size);
if(ret != 0)
{
hret = HG_NOMEM_ERROR;
goto err;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment