All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wladislav Wiebe <wladislav.kw@gmail.com>
To: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: dedekind1@gmail.com, dwmw2@infradead.org, penberg@kernel.org,
	linux-mm@kvack.org, linux-mtd@lists.infradead.org, cl@linux.com,
	linuxppc-dev@lists.ozlabs.org
Subject: Re: mm/slab: ppc: ubi: kmalloc_slab WARNING / PPC + UBI driver
Date: Thu, 01 Aug 2013 10:50:47 +0200	[thread overview]
Message-ID: <51FA2167.7060305@gmail.com> (raw)
In-Reply-To: <20130731173434.GA27470@blackmetal.musicnaut.iki.fi>

Hi,

On 31/07/13 19:34, Aaro Koskinen wrote:
> Hi,
> 
> On Wed, Jul 31, 2013 at 01:42:31PM +0200, Wladislav Wiebe wrote:
>> DEBUG: xxx kmalloc_slab, requested 'size' = 8388608, KMALLOC_MAX_SIZE = 4194304
> [...]
> 
> It seems some procfs file is trying to dump 8 MB at a single go. You
> need to fix that to return data in smaller chunks. What file is it?

seems it's coming from DT:
..
DEBUG: xxx seq_path: file path = /proc/device-tree/localbus@5000/flash@0/partition@1/reg
------------[ cut here ]------------
..

need to check if and how it's possible divide it in smaller chunks.
If somebody has suggestions, feel free to comment-)

Thanks & BR
Wladislav Wiebe

WARNING: multiple messages have this Message-ID (diff)
From: Wladislav Wiebe <wladislav.kw@gmail.com>
To: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: penberg@kernel.org, cl@linux.com, linux-mm@kvack.org,
	linuxppc-dev@lists.ozlabs.org, dedekind1@gmail.com,
	dwmw2@infradead.org, linux-mtd@lists.infradead.org
Subject: Re: mm/slab: ppc: ubi: kmalloc_slab WARNING / PPC + UBI driver
Date: Thu, 01 Aug 2013 10:50:47 +0200	[thread overview]
Message-ID: <51FA2167.7060305@gmail.com> (raw)
In-Reply-To: <20130731173434.GA27470@blackmetal.musicnaut.iki.fi>

Hi,

On 31/07/13 19:34, Aaro Koskinen wrote:
> Hi,
> 
> On Wed, Jul 31, 2013 at 01:42:31PM +0200, Wladislav Wiebe wrote:
>> DEBUG: xxx kmalloc_slab, requested 'size' = 8388608, KMALLOC_MAX_SIZE = 4194304
> [...]
> 
> It seems some procfs file is trying to dump 8 MB at a single go. You
> need to fix that to return data in smaller chunks. What file is it?

seems it's coming from DT:
..
DEBUG: xxx seq_path: file path = /proc/device-tree/localbus@5000/flash@0/partition@1/reg
------------[ cut here ]------------
..

need to check if and how it's possible divide it in smaller chunks.
If somebody has suggestions, feel free to comment-)

Thanks & BR
Wladislav Wiebe


--
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>

  reply	other threads:[~2013-08-01  8:51 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-31 11:42 mm/slab: ppc: ubi: kmalloc_slab WARNING / PPC + UBI driver Wladislav Wiebe
2013-07-31 11:42 ` Wladislav Wiebe
2013-07-31 11:58 ` Matthieu CASTET
2013-07-31 13:59 ` Christoph Lameter
2013-07-31 13:59   ` Christoph Lameter
     [not found] ` <alpine.DEB.2.02.1307310858150.30572@gentwo.org>
2013-07-31 15:17   ` Christoph Lameter
2013-07-31 15:17     ` Christoph Lameter
     [not found]   ` <alpine.DEB.2.02.1307311015320.30997@gentwo.org>
2013-07-31 15:45     ` Christoph Lameter
2013-07-31 15:45       ` Christoph Lameter
2013-07-31 16:33       ` Wladislav Wiebe
2013-07-31 16:33         ` Wladislav Wiebe
2013-07-31 17:04         ` Christoph Lameter
2013-07-31 17:04           ` Christoph Lameter
2013-08-06  7:15           ` Wladislav Wiebe
2013-08-06  7:15             ` Wladislav Wiebe
2013-08-06 14:57             ` Christoph Lameter
2013-08-06 14:57               ` Christoph Lameter
2013-07-31 17:34 ` Aaro Koskinen
2013-07-31 17:34   ` Aaro Koskinen
2013-08-01  8:50   ` Wladislav Wiebe [this message]
2013-08-01  8:50     ` Wladislav Wiebe
2013-08-12 11:06   ` Wladislav Wiebe
2013-08-12 11:06     ` Wladislav Wiebe
2013-08-12 23:24     ` Benjamin Herrenschmidt
2013-08-12 23:24       ` Benjamin Herrenschmidt

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=51FA2167.7060305@gmail.com \
    --to=wladislav.kw@gmail.com \
    --cc=aaro.koskinen@iki.fi \
    --cc=cl@linux.com \
    --cc=dedekind1@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=penberg@kernel.org \
    /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.