]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
port_posix: use posix_memalign() for aligned_alloc 36/head
authorKefu Chai <tchaikov@gmail.com>
Wed, 25 Apr 2018 02:31:51 +0000 (10:31 +0800)
committerKefu Chai <tchaikov@gmail.com>
Wed, 25 Apr 2018 08:14:36 +0000 (16:14 +0800)
commitf4a857da0b720691effc524469f6db895ad00d8e
tree9d6c4f40176eff4889384ea6504ac67e9a620b8f
parent5ec382b918f41481c089a45fb3d8472c017589fc
port_posix: use posix_memalign() for aligned_alloc

to workaround issue of http://tracker.ceph.com/issues/21422 .
and in tcmalloc aligned_alloc and posix_memalign() are basically the
same thing. the same applies to GNU glibc.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
port/port_posix.cc