All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: dhowells@redhat.com, Christoph Lameter <cl@linux-foundation.org>,
	Minchan Kim <minchan.kim@gmail.com>,
	Johannes Weiner <hannes@cmpxchg.org>,
	"riel@redhat.com" <riel@redhat.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>,
	"peterz@infradead.org" <peterz@infradead.org>,
	"tytso@mit.edu" <tytso@mit.edu>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	"elladan@eskimo.com" <elladan@eskimo.com>,
	"npiggin@suse.de" <npiggin@suse.de>,
	"Barnes, Jesse" <jesse.barnes@intel.com>
Subject: Re: [PATCH v2] Show kernel stack usage to /proc/meminfo and OOM log
Date: Wed, 01 Jul 2009 15:44:18 +0100	[thread overview]
Message-ID: <10604.1246459458@redhat.com> (raw)
In-Reply-To: <20090701103622.85CD.A69D9226@jp.fujitsu.com>

KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> wrote:

> +	int pages = THREAD_SIZE / PAGE_SIZE;

Bad assumption.  On FRV, for example, THREAD_SIZE is 8K and PAGE_SIZE is 16K.

David

WARNING: multiple messages have this Message-ID (diff)
From: David Howells <dhowells@redhat.com>
To: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: dhowells@redhat.com, Christoph Lameter <cl@linux-foundation.org>,
	Minchan Kim <minchan.kim@gmail.com>,
	Johannes Weiner <hannes@cmpxchg.org>,
	"riel@redhat.com" <riel@redhat.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>,
	"peterz@infradead.org" <peterz@infradead.org>,
	"tytso@mit.edu" <tytso@mit.edu>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	"elladan@eskimo.com" <elladan@eskimo.com>,
	"npiggin@suse.de" <npiggin@suse.de>,
	"Barnes, Jesse" <jesse.barnes@intel.com>
Subject: Re: [PATCH v2] Show kernel stack usage to /proc/meminfo and OOM log
Date: Wed, 01 Jul 2009 15:44:18 +0100	[thread overview]
Message-ID: <10604.1246459458@redhat.com> (raw)
In-Reply-To: <20090701103622.85CD.A69D9226@jp.fujitsu.com>

KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> 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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  parent reply	other threads:[~2009-07-01 15:18 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-30  6:03 [PATCH] Show kernel stack usage to /proc/meminfo and OOM log KOSAKI Motohiro
2009-06-30  6:03 ` KOSAKI Motohiro
2009-06-30  6:29 ` KOSAKI Motohiro
2009-06-30  6:29   ` KOSAKI Motohiro
2009-06-30 14:13 ` Christoph Lameter
2009-06-30 14:13   ` Christoph Lameter
2009-06-30 23:26   ` KOSAKI Motohiro
2009-06-30 23:26     ` KOSAKI Motohiro
2009-07-01  1:37     ` [PATCH v2] " KOSAKI Motohiro
2009-07-01  1:37       ` KOSAKI Motohiro
2009-07-01  2:11       ` David Rientjes
2009-07-01  2:11         ` David Rientjes
2009-07-01  2:52         ` KOSAKI Motohiro
2009-07-01  2:52           ` KOSAKI Motohiro
2009-07-01 14:44       ` David Howells [this message]
2009-07-01 14:44         ` David Howells
2009-07-01 17:16         ` Christoph Lameter
2009-07-01 17:16           ` Christoph Lameter
2009-07-01 17:23           ` Rik van Riel
2009-07-01 17:23             ` Rik van Riel
2009-07-03  0:03             ` KOSAKI Motohiro
2009-07-03  0:03               ` KOSAKI Motohiro

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=10604.1246459458@redhat.com \
    --to=dhowells@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=cl@linux-foundation.org \
    --cc=elladan@eskimo.com \
    --cc=hannes@cmpxchg.org \
    --cc=jesse.barnes@intel.com \
    --cc=kosaki.motohiro@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=minchan.kim@gmail.com \
    --cc=npiggin@suse.de \
    --cc=peterz@infradead.org \
    --cc=riel@redhat.com \
    --cc=tytso@mit.edu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.