mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 22:34:18 +01:00
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
This commit is contained in:
parent
8c06138f58
commit
7b34d98275
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ static bool check_huge_pages_config_file(const char *fname)
|
|||
static bool check_huge_pages_in_practice(void)
|
||||
// Effect: Return true if huge pages appear to be defined in practice.
|
||||
{
|
||||
return false;
|
||||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue