From: Jens Axboe Date: Mon, 1 May 2006 17:59:03 +0000 (+0200) Subject: [PATCH] pipe: introduce ->pin() buffer operation X-Git-Tag: v2.6.17-rc4~63^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f84d751994441292593523c7069ed147176f6cab;p=pandora-kernel.git [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 --- Reading git-diff-tree failed