A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
spellcheck mc. Don't ask why
[simgrid.git]
/
src
/
mc
/
RegionSnapshot.cpp
diff --git
a/src/mc/RegionSnapshot.cpp
b/src/mc/RegionSnapshot.cpp
index
94acf10
..
7acb69d
100644
(file)
--- a/
src/mc/RegionSnapshot.cpp
+++ b/
src/mc/RegionSnapshot.cpp
@@
-78,7
+78,7
@@
RegionSnapshot dense_region(
void *start_addr, void* permanent_addr, size_t size)
{
// When KSM support is enables, we allocate memory using mmap:
void *start_addr, void* permanent_addr, size_t size)
{
// When KSM support is enables, we allocate memory using mmap:
- // * we don't want to
madvise bits of the heap
;
+ // * we don't want to
advise bits of the heap as mergable
;
// * mmap gives data aligned on page boundaries which is merge friendly.
simgrid::mc::Buffer data;
if (_sg_mc_ksm)
// * mmap gives data aligned on page boundaries which is merge friendly.
simgrid::mc::Buffer data;
if (_sg_mc_ksm)