fileobj: rewrite for scalability using per-file page hash

This commit is contained in:
Balazs Gerofi
2016-12-17 19:50:48 +09:00
parent 91cdb16158
commit bce10e11e4
6 changed files with 185 additions and 188 deletions

View File

@@ -1363,6 +1363,10 @@ do_mmap(const intptr_t addr0, const size_t len0, const int prot,
goto out;
}
if (memobj->flags & MF_PREFETCH) {
populated_mapping = 1;
}
error = 0;
p = NULL;
memobj = NULL;