Re: [PATCH] cryptoloop

From: Andrew Morton (
Date: Fri Jul 04 2003 - 03:44:37 EST

Jari Ruusu <> wrote:
> Changing transfer function prototype may be a tiny speed improvement for one
> implementation that happens to use unoptimal API, but at same time be tiny
> speed degration to other implementations that use more saner APIs. I am
> unhappy with that change, because I happen to maintain four such transfers
> that would be subject to tiny speed degration.

Both the source and dest pages are being mapped with a sleeping kmap() at
present. This way we can stop doing that, which is a significant saving on
highmem and a more significant saving on SMP highmem. (crypto uses kmap_atomic).

Why is the loop driver taking a copy of all the pages btw? Looks to me
that we can just clone the bio and save an entire copy?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:22 EST