Jens Axboe f84d751994 [PATCH] pipe: introduce ->pin() buffer operation
The ->map() function is really expensive on highmem machines right now,
since it has to use the slower kmap() instead of kmap_atomic(). Splice
rarely needs to access the virtual address of a page, so it's a waste
of time doing it.

Introduce ->pin() to take over the responsibility of making sure the
page data is valid. ->map() is then reduced to just kmap(). That way we
can also share a most of the pipe buffer ops between pipe.c and splice.c

Signed-off-by: Jens Axboe <axboe@suse.de>
2006-05-01 19:59:03 +02:00
..
2006-03-24 07:33:24 -08:00
2006-03-31 12:19:01 -08:00
2006-04-27 15:13:50 +01:00
2006-04-24 13:48:51 -07:00
2006-04-24 13:48:51 -07:00
2006-01-06 08:33:29 -08:00
2006-04-24 15:20:23 -04:00
2006-04-10 09:43:47 -07:00
2006-03-25 08:22:52 -08:00