2020-07-17 23:41:12

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] memcontrol: drop duplicate word and fix spello in <linux/memcontrol.h>

From: Randy Dunlap <[email protected]>

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

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Vladimir Davydov <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Andrew Morton <[email protected]>
---
include/linux/memcontrol.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--- 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 {


2020-07-18 07:17:24

by Chris Down

[permalink] [raw]
Subject: Re: [PATCH] memcontrol: drop duplicate word and fix spello in <linux/memcontrol.h>

Randy Dunlap writes:
>From: Randy Dunlap <[email protected]>
>
>Drop the doubled word "for" in a comment.
>Fix spello of "incremented".
>
>Signed-off-by: Randy Dunlap <[email protected]>
>Cc: Johannes Weiner <[email protected]>
>Cc: Michal Hocko <[email protected]>
>Cc: Vladimir Davydov <[email protected]>
>Cc: [email protected]
>Cc: [email protected]
>Cc: Andrew Morton <[email protected]>

Acked-by: Chris Down <[email protected]>