From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with SMTP id A75426B004F for ; Wed, 1 Jul 2009 10:43:19 -0400 (EDT) From: David Howells In-Reply-To: <20090701103622.85CD.A69D9226@jp.fujitsu.com> References: <20090701103622.85CD.A69D9226@jp.fujitsu.com> <20090701082531.85C2.A69D9226@jp.fujitsu.com> Subject: Re: [PATCH v2] Show kernel stack usage to /proc/meminfo and OOM log Date: Wed, 01 Jul 2009 15:44:18 +0100 Message-ID: <10604.1246459458@redhat.com> Sender: owner-linux-mm@kvack.org To: KOSAKI Motohiro Cc: dhowells@redhat.com, Christoph Lameter , Minchan Kim , Johannes Weiner , "riel@redhat.com" , Andrew Morton , LKML , "peterz@infradead.org" , "tytso@mit.edu" , "linux-mm@kvack.org" , "elladan@eskimo.com" , "npiggin@suse.de" , "Barnes, Jesse" List-ID: KOSAKI Motohiro wrote: > + int pages = THREAD_SIZE / PAGE_SIZE; Bad assumption. On FRV, for example, THREAD_SIZE is 8K and PAGE_SIZE is 16K. David -- 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