Re: [BIO] Bounce queue in bio_add_page

From: Jens Axboe
Date: Tue Nov 04 2003 - 03:51:34 EST

On Tue, Nov 04 2003, Herbert Xu wrote:
> On Mon, Nov 03, 2003 at 01:25:00PM +0100, Jens Axboe wrote:
> >
> > I think the best fix would be to simply not allow more than one page
> > that needs to be bounced to a bio. The problem is that the whole bio and
> Here is an alternative solution, what if we simply disregarded high
> pages when doing the recount? Something like this,

That could work, but it breaks the rule that counts are always accurate.
I'd have to audit some drivers to rule that completely safe, although it
seems harmless. The idea is sound, though.

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
Please read the FAQ at