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-31 12:18:48 -08:00
2006-03-28 09:16:05 -08:00
2006-03-27 08:44:59 -08:00
2006-03-27 08:44:59 -08:00
2006-03-31 12:18:54 -08:00
2006-04-02 00:08:05 -05:00
2006-04-11 06:18:35 -07:00
2006-03-27 08:44:51 -08:00
2006-04-02 00:10:28 -05:00
2006-04-27 13:08:56 -07:00
2006-03-27 08:44:52 -08:00
2006-03-27 08:44:48 -08:00
2006-04-11 06:18:39 -07:00
2006-04-19 09:13:53 -07:00
2006-03-27 08:44:48 -08:00
2006-03-27 08:44:51 -08:00
2006-04-02 00:08:05 -05:00
2006-03-28 09:16:05 -08:00
2006-03-31 12:18:56 -08:00
2006-03-28 09:16:05 -08:00