Make smalloc redzone pointer properly aligned
authorJens Axboe <jens.axboe@oracle.com>
Tue, 7 Jul 2009 15:43:11 +0000 (17:43 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 7 Jul 2009 15:43:11 +0000 (17:43 +0200)
commitcf98708da292cb9e77bb6aff4eda7652103f4f77
tree245af2210175f1c050c0833e0f66023d4654dc53
parente40823b10920f679d84f3f2222e319c168b1e7da
Make smalloc redzone pointer properly aligned

It would SIGBUS on archs that require proper alignment, and work
suboptimally on others. Real fix is pending, making sure that
we always return naturally aligned pointers. But this at least
makes it work on sparc64.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
smalloc.c