Skip to content

Commit

Permalink
Fix typo in arena.cc (facebook#7593)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: facebook#7593

Reviewed By: zhichao-cao

Differential Revision: D24576218

Pulled By: riversand963

fbshipit-source-id: a3d77191362ca696ae9df643f97f4ab5b7ecff12
  • Loading branch information
vdimir authored and facebook-github-bot committed Oct 28, 2020
1 parent 793e9b7 commit 248d10f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memory/arena.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 248d10f

Please sign in to comment.