diff mbox series

memcontrol: drop duplicate word and fix spello in <linux/memcontrol.h>

Message ID b04aa2e4-7c95-12f0-599d-43d07fb28134@infradead.org (mailing list archive)
State New, archived
Headers show
Series memcontrol: drop duplicate word and fix spello in <linux/memcontrol.h> | expand

Commit Message

Randy Dunlap July 17, 2020, 11:37 p.m. UTC
From: Randy Dunlap <rdunlap@infradead.org>

Drop the doubled word "for" in a comment.
Fix spello of "incremented".

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: cgroups@vger.kernel.org
Cc: linux-mm@kvack.org
Cc: Andrew Morton <akpm@linux-foundation.org>
---
 include/linux/memcontrol.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Chris Down July 18, 2020, 7:16 a.m. UTC | #1
Randy Dunlap writes:
>From: Randy Dunlap <rdunlap@infradead.org>
>
>Drop the doubled word "for" in a comment.
>Fix spello of "incremented".
>
>Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
>Cc: Johannes Weiner <hannes@cmpxchg.org>
>Cc: Michal Hocko <mhocko@kernel.org>
>Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
>Cc: cgroups@vger.kernel.org
>Cc: linux-mm@kvack.org
>Cc: Andrew Morton <akpm@linux-foundation.org>

Acked-by: Chris Down <chris@chrisdown.name>
diff mbox series

Patch

--- linux-next-20200714.orig/include/linux/memcontrol.h
+++ linux-next-20200714/include/linux/memcontrol.h
@@ -72,8 +72,8 @@  struct mem_cgroup_id {
 
 /*
  * Per memcg event counter is incremented at every pagein/pageout. With THP,
- * it will be incremated by the number of pages. This counter is used for
- * for trigger some periodic events. This is straightforward and better
+ * it will be incremented by the number of pages. This counter is used
+ * to trigger some periodic events. This is straightforward and better
  * than using jiffies etc. to handle periodic memcg event.
  */
 enum mem_cgroup_events_target {