Commit d801998f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

We also read memory mapping sequentially (well, this is a bit redumdant)

parent e051cc65
......@@ -211,6 +211,7 @@ static block_t *Block (access_t *p_access)
msleep (INPUT_ERROR_SLEEP);
return NULL;
}
posix_madvise (addr, length, POSIX_MADV_SEQUENTIAL);
block_t *block = block_mmap_Alloc (addr, length);
if (block == NULL)
......
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