Fix typo in arena.cc (#7593)
Summary: Pull Request resolved: https://github.com/facebook/rocksdb/pull/7593 Reviewed By: zhichao-cao Differential Revision: D24576218 Pulled By: riversand963 fbshipit-source-id: a3d77191362ca696ae9df643f97f4ab5b7ecff12
This commit is contained in:
parent
793e9b7f5b
commit
248d10fb96
@ -160,7 +160,7 @@ char* Arena::AllocateAligned(size_t bytes, size_t huge_page_size,
|
||||
|
||||
#ifdef MAP_HUGETLB
|
||||
if (huge_page_size > 0 && bytes > 0) {
|
||||
// Allocate from a huge page TBL table.
|
||||
// Allocate from a huge page TLB table.
|
||||
assert(logger != nullptr); // logger need to be passed in.
|
||||
size_t reserved_size =
|
||||
((bytes - 1U) / huge_page_size + 1U) * huge_page_size;
|
||||
|
Loading…
Reference in New Issue
Block a user