Re: [PATCH] block: blk_queue_bounce_limits can actually sleep

From: Arjan van de Ven
Date: Tue May 20 2008 - 17:03:17 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/