mirror of
https://github.com/MariaDB/server.git
synced 2025-12-06 05:42:06 +03:00
tokudb: disable check_huge_pages_in_practice()
crashes on Debian 10
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user