7034464: Support transparent large pages on Linux

Support transparent huge pages on Linux available since 2.6.38

Reviewed-by: iveresov, ysr
This commit is contained in:
Andrew Haley 2011-04-20 17:12:04 -07:00 committed by Igor Veresov
parent 12d1d9acc1
commit cf6f747d17
3 changed files with 107 additions and 18 deletions

View file

@ -86,6 +86,9 @@ class Linux {
static void rebuild_cpu_to_node_map();
static GrowableArray<int>* cpu_to_node() { return _cpu_to_node; }
static bool hugetlbfs_sanity_check(bool warn, size_t page_size);
public:
static void init_thread_fpu_state();
static int get_fpu_control_word();