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

@@ -32,6 +32,9 @@ enum {
MF_HAS_PAGER = 0x0001,
MF_SHMDT_OK = 0x0002,
MF_IS_REMOVABLE = 0x0004,
MF_PREFETCH = 0x0008,
MF_ZEROFILL = 0x0010,
MF_END
};
struct memobj {