Re: [PATCH] block: blk_queue_bounce_limits can actually sleep
From: Jens Axboe
Date: Tue May 20 2008 - 15:30:22 EST
On Mon, May 19 2008, Arjan van de Ven wrote:
> From: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/