Shaohua Li 1410180167 Make arena use hugepage if possible
Summary:
arena doesn't use huge page by default. This change will make it happen
if possible. A new paramerter is added for Arena(). If it's set, Arena
will use huge page always. If huge page allocation fails, Arena
allocation will fallback to malloc().

Test Plan:
Change util/arena_test to support huge page allocation.
Run below tests:
1. normal regression test:
  make check
2. Check if huge page allocation works
  echo 50 > /proc/sys/vm/nr_hugepages
  make check

Reviewers: sdong

Reviewed By: sdong

Subscribers: dhruba

Differential Revision: https://reviews.facebook.net/D28647
2014-11-21 14:11:40 -08:00
..
2014-11-21 14:11:40 -08:00
2014-11-21 14:11:40 -08:00
2014-11-06 11:14:28 -08:00
2014-10-31 11:59:54 -07:00
2014-11-07 15:04:30 -08:00
2014-08-19 09:52:54 -04:00
2014-08-19 06:48:21 -07:00
2014-11-20 10:49:32 -08:00
2014-11-14 11:38:26 -08:00
2014-11-14 11:38:26 -08:00
2014-11-20 10:49:32 -08:00
2014-08-28 12:46:05 -04:00
2014-08-28 12:46:05 -04:00
2014-11-21 11:05:28 -05:00
2014-09-21 22:20:00 +08:00
2014-11-14 11:38:26 -08:00
2014-11-14 11:38:26 -08:00
2014-11-14 16:33:41 -08:00
2014-07-25 15:17:06 -07:00
2014-10-07 11:48:23 -07:00
2014-09-05 14:14:37 +08:00
2014-07-28 12:10:49 -07:00
2013-12-03 12:42:15 -08:00
2014-07-28 12:22:37 -07:00
2014-11-21 11:05:28 -05:00
2014-11-21 11:05:28 -05:00
2014-04-17 14:29:28 -07:00
2014-09-08 22:24:40 -07:00
2014-10-31 11:59:54 -07:00
2014-08-27 11:05:41 -07:00
2014-05-01 14:09:32 -04:00
2014-05-01 14:09:32 -04:00