Loading src/client/gkfs_libc.cpp +8 −6 Original line number Diff line number Diff line Loading @@ -1863,6 +1863,7 @@ munmap(void* addr, size_t length) { // free memory // return // if not just go to the normal munmap if(mmap_set.size() != 0) { for(auto it = mmap_set.begin(); it != mmap_set.end(); ++it) { if(std::get<0>(*it) == addr) { msync(addr, length, 0); Loading @@ -1871,6 +1872,7 @@ munmap(void* addr, size_t length) { return 0; } } } GKFS_FALLBACK(munmap, addr, length); } Loading Loading
src/client/gkfs_libc.cpp +8 −6 Original line number Diff line number Diff line Loading @@ -1863,6 +1863,7 @@ munmap(void* addr, size_t length) { // free memory // return // if not just go to the normal munmap if(mmap_set.size() != 0) { for(auto it = mmap_set.begin(); it != mmap_set.end(); ++it) { if(std::get<0>(*it) == addr) { msync(addr, length, 0); Loading @@ -1871,6 +1872,7 @@ munmap(void* addr, size_t length) { return 0; } } } GKFS_FALLBACK(munmap, addr, length); } Loading