From fe0d61c5bb296dd96c800a7d84d437246fdb1fca Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sun, 8 Jan 2017 17:06:42 +0100 Subject: [PATCH] ignorable cosmetics --- src/mc/PageStore.hpp | 12 +++++------- src/mc/mc_snapshot.cpp | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/mc/PageStore.hpp b/src/mc/PageStore.hpp index 979e02fb5d..4226ffd799 100644 --- a/src/mc/PageStore.hpp +++ b/src/mc/PageStore.hpp @@ -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_`. diff --git a/src/mc/mc_snapshot.cpp b/src/mc/mc_snapshot.cpp index 0e92ed0ef3..f2c7ad6d77 100644 --- a/src/mc/mc_snapshot.cpp +++ b/src/mc/mc_snapshot.cpp @@ -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); -- 2.20.1