All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <jens.axboe@oracle.com>
To: Arjan van de Ven <arjan@infradead.org>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Subject: Re: [PATCH] block: blk_queue_bounce_limits can actually sleep
Date: Tue, 20 May 2008 21:29:59 +0200	[thread overview]
Message-ID: <20080520192958.GW22369@kernel.dk> (raw)
In-Reply-To: <20080519202409.6d1055be@infradead.org>

On Mon, May 19 2008, Arjan van de Ven wrote:
> From: Arjan van de Ven <arjan@linux.intel.com>
> Subject: [PATCH] block: blk_queue_bounce_limits can actually sleep
> 
> blk_queue_bounce_limit can call init_emergency_isa_pool, which
> does sleeping allocations... document it as such by adding
> might_sleep() to the driver

Isn't that superflous, as mempool_create() -> kmalloc(..., __GFP_WAIT)
ends up spewing that warning anyway?

-- 
Jens Axboe


  reply	other threads:[~2008-05-20 19:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-20  3:24 [PATCH] block: blk_queue_bounce_limits can actually sleep Arjan van de Ven
2008-05-20 19:29 ` Jens Axboe [this message]
2008-05-20 19:45   ` Andrew Morton
2008-05-20 19:58     ` Jens Axboe
2008-05-20 21:02       ` Arjan van de Ven
2008-05-20 20:03     ` Arjan van de Ven

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=20080520192958.GW22369@kernel.dk \
    --to=jens.axboe@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=arjan@infradead.org \
    --cc=linux-kernel@vger.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.