[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080520140241.1c7e018c@infradead.org>
Date: Tue, 20 May 2008 14:02:41 -0700
From: Arjan van de Ven <arjan@...radead.org>
To: Jens Axboe <jens.axboe@...cle.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] block: blk_queue_bounce_limits can actually sleep
On Tue, 20 May 2008 21:58:57 +0200
> Yeah, THAT I agree with in genereal, but it's probably too much here
> since most callers will not block and probably do call it under the
> queue lock already (just guessing here, didn't audit any callers).
>
> > but it's all vague and waffly because Arjan forgot to tell us why
> > he's bothering to patch this code at all???
>
> Probably the math still isn't quite correct, so it ends up setting up
> the isa pool for no good reason :-(
>
well either it sleeps or it doesn't.....
if this guy should sleep (and right now it does) we shouldn't call it
from such contexts.
If we do the right thing and allocate the isa pools in a sane context,
it wouldn't ever sleep and the patch isn't needed...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists