Browse Source

lib+mm: fix few spelling mistakes

All are in comments.

Signed-off-by: Bogdan Sikora <bsikora@redhat.com>
Cc: <linux-mm@kvack.org>
Cc: Rafael Aquini <aquini@redhat.com>
Cc: Kent Overstreet <kmo@daterainc.com>
Cc: Jan Kara <jack@suse.cz>
[jkosina@suse.cz: more fixup]
Acked-by: Rafael Aquini <aquini@redhat.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Bogdan Sikora 9 years ago
parent
commit
bdb428c82a
3 changed files with 4 additions and 4 deletions
  1. 1 1
      lib/flex_proportions.c
  2. 1 1
      lib/percpu-refcount.c
  3. 2 2
      mm/balloon_compaction.c

+ 1 - 1
lib/flex_proportions.c

@@ -17,7 +17,7 @@
  *
  *
  *   \Sum_{j} p_{j} = 1,
  *   \Sum_{j} p_{j} = 1,
  *
  *
- * This formula can be straightforwardly computed by maintaing denominator
+ * This formula can be straightforwardly computed by maintaining denominator
  * (let's call it 'd') and for each event type its numerator (let's call it
  * (let's call it 'd') and for each event type its numerator (let's call it
  * 'n_j'). When an event of type 'j' happens, we simply need to do:
  * 'n_j'). When an event of type 'j' happens, we simply need to do:
  *   n_j++; d++;
  *   n_j++; d++;

+ 1 - 1
lib/percpu-refcount.c

@@ -12,7 +12,7 @@
  * particular cpu can (and will) wrap - this is fine, when we go to shutdown the
  * particular cpu can (and will) wrap - this is fine, when we go to shutdown the
  * percpu counters will all sum to the correct value
  * percpu counters will all sum to the correct value
  *
  *
- * (More precisely: because moduler arithmatic is commutative the sum of all the
+ * (More precisely: because modular arithmetic is commutative the sum of all the
  * percpu_count vars will be equal to what it would have been if all the gets
  * percpu_count vars will be equal to what it would have been if all the gets
  * and puts were done to a single integer, even if some of the percpu integers
  * and puts were done to a single integer, even if some of the percpu integers
  * overflow or underflow).
  * overflow or underflow).

+ 2 - 2
mm/balloon_compaction.c

@@ -13,10 +13,10 @@
 /*
 /*
  * balloon_page_enqueue - allocates a new page and inserts it into the balloon
  * balloon_page_enqueue - allocates a new page and inserts it into the balloon
  *			  page list.
  *			  page list.
- * @b_dev_info: balloon device decriptor where we will insert a new page to
+ * @b_dev_info: balloon device descriptor where we will insert a new page to
  *
  *
  * Driver must call it to properly allocate a new enlisted balloon page
  * Driver must call it to properly allocate a new enlisted balloon page
- * before definetively removing it from the guest system.
+ * before definitively removing it from the guest system.
  * This function returns the page address for the recently enqueued page or
  * This function returns the page address for the recently enqueued page or
  * NULL in the case we fail to allocate a new page this turn.
  * NULL in the case we fail to allocate a new page this turn.
  */
  */