From: Ying Han <yinghan@google.com>
To: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>,
Minchan Kim <minchan.kim@gmail.com>,
Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>,
Balbir Singh <balbir@linux.vnet.ibm.com>,
Tejun Heo <tj@kernel.org>, Pavel Emelyanov <xemul@openvz.org>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
Andrew Morton <akpm@linux-foundation.org>,
Li Zefan <lizf@cn.fujitsu.com>, Mel Gorman <mel@csn.ul.ie>,
Christoph Lameter <cl@linux.com>,
Johannes Weiner <hannes@cmpxchg.org>,
Rik van Riel <riel@redhat.com>, Hugh Dickins <hughd@google.com>,
Michal Hocko <mhocko@suse.cz>,
Dave Hansen <dave@linux.vnet.ibm.com>,
Zhu Yanhai <zhu.yanhai@gmail.com>
Cc: linux-mm@kvack.org
Subject: [PATCH] memcg: fix typo in the soft_limit stats.
Date: Mon, 16 May 2011 15:00:30 -0700 [thread overview]
Message-ID: <1305583230-2111-1-git-send-email-yinghan@google.com> (raw)
This fixes the typo in the memory.stat including the following two
stats:
$ cat /dev/cgroup/memory/A/memory.stat
total_soft_steal 0
total_soft_scan 0
And change it to:
$ cat /dev/cgroup/memory/A/memory.stat
total_soft_kswapd_steal 0
total_soft_kswapd_scan 0
Signed-off-by: Ying Han <yinghan@google.com>
---
mm/memcontrol.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index a010c23..1ea787d 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -4023,8 +4023,8 @@ struct {
{"limit_direct_scan", "total_limit_direct_scan"},
{"hierarchy_direct_steal", "total_hierarchy_direct_steal"},
{"hierarchy_direct_scan", "total_hierarchy_direct_scan"},
- {"soft_kswapd_steal", "total_soft_steal"},
- {"soft_kswapd_scan", "total_soft_scan"},
+ {"soft_kswapd_steal", "total_soft_kswapd_steal"},
+ {"soft_kswapd_scan", "total_soft_kswapd_scan"},
{"soft_direct_steal", "total_soft_direct_steal"},
{"soft_direct_scan", "total_soft_direct_scan"},
{"inactive_anon", "total_inactive_anon"},
--
1.7.3.1
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2011-05-16 22:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-16 22:00 Ying Han [this message]
2011-05-16 23:15 ` Johannes Weiner
2011-05-17 0:05 ` Ying Han
2011-05-17 0:13 ` Johannes Weiner
2011-05-17 0:18 ` Rik van Riel
2011-05-17 0:18 ` Andrew Morton
2011-05-17 23:49 ` KAMEZAWA Hiroyuki
2011-05-18 0:00 ` KAMEZAWA Hiroyuki
2011-05-18 0:56 ` Ying Han
2011-05-26 9:05 ` Johannes Weiner
2011-05-26 16:56 ` Ying Han
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1305583230-2111-1-git-send-email-yinghan@google.com \
--to=yinghan@google.com \
--cc=akpm@linux-foundation.org \
--cc=balbir@linux.vnet.ibm.com \
--cc=cl@linux.com \
--cc=dave@linux.vnet.ibm.com \
--cc=hannes@cmpxchg.org \
--cc=hughd@google.com \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=kosaki.motohiro@jp.fujitsu.com \
--cc=linux-mm@kvack.org \
--cc=lizf@cn.fujitsu.com \
--cc=mel@csn.ul.ie \
--cc=mhocko@suse.cz \
--cc=minchan.kim@gmail.com \
--cc=nishimura@mxp.nes.nec.co.jp \
--cc=riel@redhat.com \
--cc=tj@kernel.org \
--cc=xemul@openvz.org \
--cc=zhu.yanhai@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox