commit | c39906450ba553a65545c90863addde0152a465e | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Thu Jul 19 10:17:09 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu Jul 19 10:17:09 2007 +0200 |
tree | ecc6be2877bd9636dd32792ed12567cdd30fe8c8 | |
parent | c7173db634637926296ba8a9201bc8edcddbc1a3 [diff] |
Fix bad alignment in buffer size allocation We typically end up allocating a block more than we need. Usually not a problem for normal memory, but when we are dealing with scarce resources such as hugepages, it can be problematic. For many threads the memory waste could also be a problem. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>