lguest: use ioremap_cache, not ioremap
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 30 May 2008 20:09:40 +0000 (15:09 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 30 May 2008 05:09:41 +0000 (15:09 +1000)
commite27810f11340987df123a99eb9ae14c054a55639
tree4605228957a1e02cde0d4fa753cc3cbe2f75656c
parent0a2ce2ffc358da96792d514c1024b72c52be9cc1
lguest: use ioremap_cache, not ioremap

Thanks to Jon Corbet & LWN.  Only took me a day to join the dots.

Host->Guest netcat before (with unnecessily large receive buffers):
1073741824 bytes (1.1 GB) copied, 24.7528 seconds, 43.4 MB/s

After:
1073741824 bytes (1.1 GB) copied, 17.6369 seconds, 60.9 MB/s

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/lguest_device.c