linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: m.szyprowski@samsung.com (Marek Szyprowski)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM: DMA-Mapping: print warning when atomic coherent allocation fails
Date: Tue, 21 Aug 2012 12:14:51 +0200	[thread overview]
Message-ID: <000d01cd7f85$d091b3c0$71b51b40$%szyprowski@samsung.com> (raw)
In-Reply-To: <20120820230058.GA755@harshnoise.musicnaut.iki.fi>

Hello,

On Tuesday, August 21, 2012 1:01 AM Aaro Koskinen wrote:

> On Mon, Aug 20, 2012 at 12:47:27PM +0200, Marek Szyprowski wrote:
> > @@ -461,6 +461,9 @@ static void *__alloc_from_pool(size_t size, struct page **ret_page)
> >  		bitmap_set(pool->bitmap, pageno, count);
> >  		ptr = pool->vaddr + PAGE_SIZE * pageno;
> >  		*ret_page = pool->page + pageno;
> > +	} else {
> > +		pr_err("Atomic coherent pool too small!\n"
> > +		       "Please increase it with coherent_pool= kernel parameter!\n");
> 
> This should be rate limited, perhaps even printed only once.

Ok, I will change it to pr_err_once().

Best regards
-- 
Marek Szyprowski
Samsung Poland R&D Center

  reply	other threads:[~2012-08-21 10:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-20 10:47 [PATCH 0/3] Add code for setting coherent pool size Marek Szyprowski
2012-08-20 10:47 ` [PATCH 1/3] ARM: DMA-Mapping: add function for setting coherent pool size from platform code Marek Szyprowski
2012-08-20 10:47 ` [PATCH 2/3] ARM: DMA-Mapping: print warning when atomic coherent allocation fails Marek Szyprowski
2012-08-20 23:01   ` Aaro Koskinen
2012-08-21 10:14     ` Marek Szyprowski [this message]
2012-08-22  5:30   ` [Linaro-mm-sig] " Hiroshi Doyu
2012-08-22 13:02     ` [PATCH v2] " Marek Szyprowski
2012-08-20 10:47 ` [PATCH 3/3] ARM: Kirkwood: increase atomic coherent pool size Marek Szyprowski
2012-08-20 23:14   ` Aaro Koskinen
2012-08-21  7:31     ` Marek Szyprowski
2012-08-28 18:25   ` Jason Cooper
2012-08-28 18:37     ` Marek Szyprowski
2012-08-28 18:40       ` Jason Cooper

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='000d01cd7f85$d091b3c0$71b51b40$%szyprowski@samsung.com' \
    --to=m.szyprowski@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).