summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/flex_proportions.c2
-rw-r--r--lib/percpu-refcount.c2
-rw-r--r--mm/balloon_compaction.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/flex_proportions.c b/lib/flex_proportions.c
index 8f25652f40d4..a71cf1bdd4c9 100644
--- a/lib/flex_proportions.c
+++ b/lib/flex_proportions.c
@@ -17,7 +17,7 @@
17 * 17 *
18 * \Sum_{j} p_{j} = 1, 18 * \Sum_{j} p_{j} = 1,
19 * 19 *
20 * This formula can be straightforwardly computed by maintaing denominator 20 * This formula can be straightforwardly computed by maintaining denominator
21 * (let's call it 'd') and for each event type its numerator (let's call it 21 * (let's call it 'd') and for each event type its numerator (let's call it
22 * 'n_j'). When an event of type 'j' happens, we simply need to do: 22 * 'n_j'). When an event of type 'j' happens, we simply need to do:
23 * n_j++; d++; 23 * n_j++; d++;
diff --git a/lib/percpu-refcount.c b/lib/percpu-refcount.c
index 6111bcb28376..27fe74948882 100644
--- a/lib/percpu-refcount.c
+++ b/lib/percpu-refcount.c
@@ -12,7 +12,7 @@
12 * particular cpu can (and will) wrap - this is fine, when we go to shutdown the 12 * particular cpu can (and will) wrap - this is fine, when we go to shutdown the
13 * percpu counters will all sum to the correct value 13 * percpu counters will all sum to the correct value
14 * 14 *
15 * (More precisely: because moduler arithmatic is commutative the sum of all the 15 * (More precisely: because modular arithmetic is commutative the sum of all the
16 * percpu_count vars will be equal to what it would have been if all the gets 16 * percpu_count vars will be equal to what it would have been if all the gets
17 * and puts were done to a single integer, even if some of the percpu integers 17 * and puts were done to a single integer, even if some of the percpu integers
18 * overflow or underflow). 18 * overflow or underflow).
diff --git a/mm/balloon_compaction.c b/mm/balloon_compaction.c
index d3116be5a00f..59c2bc8a1efc 100644
--- a/mm/balloon_compaction.c
+++ b/mm/balloon_compaction.c
@@ -13,10 +13,10 @@
13/* 13/*
14 * balloon_page_enqueue - allocates a new page and inserts it into the balloon 14 * balloon_page_enqueue - allocates a new page and inserts it into the balloon
15 * page list. 15 * page list.
16 * @b_dev_info: balloon device decriptor where we will insert a new page to 16 * @b_dev_info: balloon device descriptor where we will insert a new page to
17 * 17 *
18 * Driver must call it to properly allocate a new enlisted balloon page 18 * Driver must call it to properly allocate a new enlisted balloon page
19 * before definetively removing it from the guest system. 19 * before definitively removing it from the guest system.
20 * This function returns the page address for the recently enqueued page or 20 * This function returns the page address for the recently enqueued page or
21 * NULL in the case we fail to allocate a new page this turn. 21 * NULL in the case we fail to allocate a new page this turn.
22 */ 22 */