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
[mc] Different/private mc_stack variables for SafetyChecker and LivenessChecker
[simgrid.git]
/
src
/
mc
/
PageStore.hpp
diff --git
a/src/mc/PageStore.hpp
b/src/mc/PageStore.hpp
index
8ed78ad
..
2ec8ec9
100644
(file)
--- a/
src/mc/PageStore.hpp
+++ b/
src/mc/PageStore.hpp
@@
-24,8
+24,8
@@
namespace mc {
/** @brief Storage for snapshot memory pages
*
* The first (lower) layer of the per-page snapshot mechanism is a page
/** @brief Storage for snapshot memory pages
*
* The first (lower) layer of the per-page snapshot mechanism is a page
- * store: it
'
s responsibility is to store immutable shareable
- * reference-counted memory pages independently of the snapshoting
+ * store: its responsibility is to store immutable shareable
+ * reference-counted memory pages independently of the snapshot
t
ing
* logic. Snapshot management and representation, soft-dirty tracking is
* handled to an higher layer. READMORE
*
* logic. Snapshot management and representation, soft-dirty tracking is
* handled to an higher layer. READMORE
*
@@
-174,7
+174,7
@@
void PageStore::ref_page(size_t pageno)
inline __attribute__((always_inline))
const void* PageStore::get_page(std::size_t pageno) const
{
inline __attribute__((always_inline))
const void* PageStore::get_page(std::size_t pageno) const
{
- return
mc_page_from_number(this->memory_, pageno
);
+ return
(void*) simgrid::mc::mmu::join(pageno, (std::uintptr_t) this->memory_
);
}
inline __attribute__((always_inline))
}
inline __attribute__((always_inline))