Commit 794911a2 authored by Sergei Golubchik's avatar Sergei Golubchik

tokudb: disable check_huge_pages_in_practice()

crashes on Debian 10
parent 91c3d998
...@@ -120,6 +120,7 @@ static bool check_huge_pages_config_file(const char *fname) ...@@ -120,6 +120,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; // disabled, doesn't seem to work on newest distros
#ifdef HAVE_MINCORE #ifdef HAVE_MINCORE
#ifdef HAVE_MAP_ANONYMOUS #ifdef HAVE_MAP_ANONYMOUS
const int map_anonymous = MAP_ANONYMOUS; const int map_anonymous = MAP_ANONYMOUS;
......
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