lkml.org 
[lkml]   [2003]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] cryptoloop
Andries.Brouwer@cwi.nl wrote:
>
> +static int
> +cryptoloop_transfer(struct loop_device *lo, int cmd, char *raw_buf,
> + char *loop_buf, int size, sector_t IV)

You'll note that loop.c goes from (page/offset/len) to (addr/len), and this
transfer function then immediately goes from (addr,len) to
(page/offset/len).

That's rather silly, and it forces the loop driver to play games pushing
pages into lowmem.

Can we keep everything using (page/offset/len) end-to-end?


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [from the cache]
©2003-2011 Jasper Spaans