From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761826AbZGIPC1 (ORCPT ); Thu, 9 Jul 2009 11:02:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759611AbZGIPCU (ORCPT ); Thu, 9 Jul 2009 11:02:20 -0400 Received: from mx2.redhat.com ([66.187.237.31]:43064 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759557AbZGIPCU (ORCPT ); Thu, 9 Jul 2009 11:02:20 -0400 Message-ID: <4A560651.3090708@redhat.com> Date: Thu, 09 Jul 2009 11:01:37 -0400 From: Rik van Riel Organization: Red Hat, Inc User-Agent: Thunderbird 2.0.0.17 (X11/20080915) MIME-Version: 1.0 To: KOSAKI Motohiro CC: LKML , linux-mm , Andrew Morton , Wu Fengguang , Christoph Lameter , David Rientjes , Hugh Dickins Subject: Re: [PATCH 3/5][resend] Show kernel stack usage to /proc/meminfo and OOM log References: <20090709165820.23B7.A69D9226@jp.fujitsu.com> <20090709171122.23C3.A69D9226@jp.fujitsu.com> In-Reply-To: <20090709171122.23C3.A69D9226@jp.fujitsu.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org KOSAKI Motohiro wrote: > Subject: [PATCH] Show kernel stack usage to /proc/meminfo and OOM log > > The amount of memory allocated to kernel stacks can become significant and > cause OOM conditions. However, we do not display the amount of memory > consumed by stacks.' > > Add code to display the amount of memory used for stacks in /proc/meminfo. > > > Signed-off-by: KOSAKI Motohiro > Reviewed-by: Reviewed-by: Rik van Riel -- All rights reversed. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail144.messagelabs.com (mail144.messagelabs.com [216.82.254.51]) by kanga.kvack.org (Postfix) with SMTP id DC3EF6B005C for ; Thu, 9 Jul 2009 10:44:30 -0400 (EDT) Message-ID: <4A560651.3090708@redhat.com> Date: Thu, 09 Jul 2009 11:01:37 -0400 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH 3/5][resend] Show kernel stack usage to /proc/meminfo and OOM log References: <20090709165820.23B7.A69D9226@jp.fujitsu.com> <20090709171122.23C3.A69D9226@jp.fujitsu.com> In-Reply-To: <20090709171122.23C3.A69D9226@jp.fujitsu.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: KOSAKI Motohiro Cc: LKML , linux-mm , Andrew Morton , Wu Fengguang , Christoph Lameter , David Rientjes , Hugh Dickins List-ID: KOSAKI Motohiro wrote: > Subject: [PATCH] Show kernel stack usage to /proc/meminfo and OOM log > > The amount of memory allocated to kernel stacks can become significant and > cause OOM conditions. However, we do not display the amount of memory > consumed by stacks.' > > Add code to display the amount of memory used for stacks in /proc/meminfo. > > > Signed-off-by: KOSAKI Motohiro > Reviewed-by: Reviewed-by: Rik van Riel -- All rights reversed. -- 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/ . Don't email: email@kvack.org