[PATCH] remove useless highmem bounce from loop/cryptoloop
From: Ben Slusky (sluskyb_at_paranoiacs.org)
Date: 10/30/03
- Previous message: Sreeram Kumar Ravinoothala: "RE: Question on SIGFPE"
- Next in thread: Jari Ruusu: "Re: [PATCH] remove useless highmem bounce from loop/cryptoloop"
- Reply: Jari Ruusu: "Re: [PATCH] remove useless highmem bounce from loop/cryptoloop"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Oct 2003 08:41:40 -0500 To: linux-kernel@vger.kernel.org
Greetings,
The attached patch changes the loop device transfer functions (including
cryptoloop transfers) to accept page/offset pairs instead of virtual
addresses, and removes the redundant kmaps in do_lo_send, do_lo_receive,
and loop_transfer_bio. Per Andrew Morton's request a while back.
Combined with my previous patch (loop-recycle.diff) I believe this makes
loop devices safe for use as swap.
Questions? Comments? Flames?
-- Ben Slusky | What a waste it is to lose sluskyb@paranoiacs.org | one's mind. Or not to have a sluskyb@stwing.org | mind is being very wasteful. PGP keyID ADA44B3B | How true that is. -Dan Quayle
-
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/
- text/plain attachment: loop-highmem.diff
- Previous message: Sreeram Kumar Ravinoothala: "RE: Question on SIGFPE"
- Next in thread: Jari Ruusu: "Re: [PATCH] remove useless highmem bounce from loop/cryptoloop"
- Reply: Jari Ruusu: "Re: [PATCH] remove useless highmem bounce from loop/cryptoloop"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]