From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail190.messagelabs.com (mail190.messagelabs.com [216.82.249.51]) by kanga.kvack.org (Postfix) with ESMTP id 8814B6B002B for ; Mon, 16 May 2011 18:02:08 -0400 (EDT) From: Ying Han Subject: [PATCH] memcg: fix typo in the soft_limit stats. Date: Mon, 16 May 2011 15:00:30 -0700 Message-Id: <1305583230-2111-1-git-send-email-yinghan@google.com> Sender: owner-linux-mm@kvack.org List-ID: To: KOSAKI Motohiro , Minchan Kim , Daisuke Nishimura , Balbir Singh , Tejun Heo , Pavel Emelyanov , KAMEZAWA Hiroyuki , Andrew Morton , Li Zefan , Mel Gorman , Christoph Lameter , Johannes Weiner , Rik van Riel , Hugh Dickins , Michal Hocko , Dave Hansen , Zhu Yanhai Cc: linux-mm@kvack.org 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 --- 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: email@kvack.org