| commit | 91aea6ec78170ffeb64a2a374ba69bce4986b86f | [log] [tgz] |
|---|---|---|
| author | Jens Axboe <jaxboe@fusionio.com> | Mon Apr 25 20:46:58 2011 +0200 |
| committer | Jens Axboe <jaxboe@fusionio.com> | Mon Apr 25 20:46:58 2011 +0200 |
| tree | 6ca08263591e3c78eac73ef6f3dbc824a111969b | |
| parent | 7e8ad197a8d219e2fc181c881143f11891e7d0d5 [diff] |
Add simple aligned alloc helper We don't have posix_memalign() on some Solaris and Darwin, so just add a poor mans implementation of it. Outside of arch code where we have proper posix_memalign(), this is only used to ensure good alignment of the io_u in the core code. Signed-off-by: Jens Axboe <jaxboe@fusionio.com>