X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/29a3b2869c0075fc75e8ccc66fc1d9c4c8bf6a85..6d454127a5b4d271888c494413f434e521ea8ab5:/src/mc/sosp/PageStore.hpp diff --git a/src/mc/sosp/PageStore.hpp b/src/mc/sosp/PageStore.hpp index 02e9e07a3d..c78f57509f 100644 --- a/src/mc/sosp/PageStore.hpp +++ b/src/mc/sosp/PageStore.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2015-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2015-2019. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -6,14 +6,12 @@ #ifndef SIMGRID_MC_PAGESTORE_HPP #define SIMGRID_MC_PAGESTORE_HPP -#include -#include +#include "src/mc/mc_forward.hpp" +#include "src/mc/mc_mmu.hpp" #include #include - -#include "src/mc/mc_forward.hpp" -#include "src/mc/mc_mmu.hpp" +#include #ifndef XBT_ALWAYS_INLINE #define XBT_ALWAYS_INLINE inline __attribute__((always_inline)) @@ -36,7 +34,7 @@ namespace mc { * * We want to keep this memory region aligned on the memory pages (so * that we might be able to create non-linear memory mappings on those - * pages in the future) and be able to expand it without coyping the + * pages in the future) and be able to expand it without copying the * data (there will be a lot of pages here): we will be able to * efficiently expand the memory mapping using `mremap()`, moving it * to another virtual address if necessary. @@ -130,7 +128,7 @@ public: * store. * * This will be the case if a page if soft clean: we know that is has not - * changed since the previous cnapshot/restoration and we can avoid + * changed since the previous snapshot/restoration and we can avoid * hashing the page, comparing byte-per-byte to candidates. * */ void ref_page(size_t pageno);