Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ignorable cosmetics
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 8 Jan 2017 16:06:42 +0000 (17:06 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 8 Jan 2017 16:07:10 +0000 (17:07 +0100)
src/mc/PageStore.hpp
src/mc/mc_snapshot.cpp

index 979e02f..4226ffd 100644 (file)
@@ -23,11 +23,10 @@ namespace mc {
 
 /** @brief Storage for snapshot memory pages
  *
- * The first (lower) layer of the per-page snapshot mechanism is a page
- * store: its responsibility is to store immutable shareable
- * reference-counted memory pages independently of the snapshotting
- * logic. Snapshot management and representation is
- * handled to an higher layer. READMORE
+ * The first (lower) layer of the per-page snapshot mechanism is a page store:
+ * its responsibility is to store immutable sharable reference-counted memory
+ * pages independently of the snapshotting logic. Snapshot management and
+ * representation is handled to an higher layer. READMORE
  *
  * Data structure:
  *
@@ -112,8 +111,7 @@ public: // Methods
 
   /** @brief Decrement the reference count for a given page
    *
-   * Decrement the reference count of this page. Used when a snapshot is
-   * destroyed.
+   * Decrement the reference count of this page. Used when a snapshot is destroyed.
    *
    * If the reference count reaches zero, the page is recycled:
    * it is added to the `free_pages_` list and removed from the `hash_index_`.
index 0e92ed0..f2c7ad6 100644 (file)
@@ -234,7 +234,7 @@ XBT_TEST_UNIT("page_snapshots", test_per_snpashots, "Test per-page snapshots")
 
 static void test_snapshot(bool sparse_checkpoint) {
 
-  xbt_test_add("Initialisation");
+  xbt_test_add("Initialization");
   _sg_mc_sparse_checkpoint = sparse_checkpoint;
   xbt_assert(xbt_pagesize == getpagesize());
   xbt_assert(1 << xbt_pagebits == xbt_pagesize);