diff src/os/linux/vm/os_linux.hpp @ 3286:139667d9836a

7034464: Support transparent large pages on Linux Summary: Support transparent huge pages on Linux available since 2.6.38 Reviewed-by: iveresov, ysr Contributed-by: aph@redhat.com
author iveresov
date Wed, 20 Apr 2011 17:12:04 -0700
parents f95d63e2154a
children 7c2653aefc46
line wrap: on
line diff
--- a/src/os/linux/vm/os_linux.hpp	Tue Apr 19 15:46:59 2011 -0400
+++ b/src/os/linux/vm/os_linux.hpp	Wed Apr 20 17:12:04 2011 -0700
@@ -86,6 +86,9 @@
 
   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();