Commit 6c2abeda authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Refs #6292. Disable the code that's breaking, until we can fix it.

git-svn-id: file:///svn/toku/tokudb@54512 c7de825b-a66e-492c-adef-691d508d4ae1
parent 6e9c4e6f
...@@ -50,6 +50,7 @@ static bool check_huge_pages_config_file(const char *fname) ...@@ -50,6 +50,7 @@ static bool check_huge_pages_config_file(const char *fname)
static bool check_huge_pages_in_practice(void) static bool check_huge_pages_in_practice(void)
// Effect: Return true if huge pages appear to be defined in practice. // Effect: Return true if huge pages appear to be defined in practice.
{ {
return false;
const size_t TWO_MB = 2UL*1024UL*1024UL; const size_t TWO_MB = 2UL*1024UL*1024UL;
void *first = mmap(NULL, 2*TWO_MB, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); void *first = mmap(NULL, 2*TWO_MB, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment