From: Hugh Dickins Date: Mon, 4 Jun 2007 08:00:39 +0000 (+0200) Subject: shmem: convert to using splice instead of sendfile() X-Git-Tag: v2.6.23-rc1~1157^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae976416464b741913a13eea62eb6953ee065733;p=pandora-kernel.git shmem: convert to using splice instead of sendfile() Remove shmem_file_sendfile and resurrect shmem_readpage, as used by tmpfs to support loop and sendfile in 2.4 and 2.5. Now tmpfs can support splice, loop and sendfile in the simplest way, using generic_file_splice_read and generic_file_splice_write (with the aid of shmem_prepare_write). We could make some efficiency tweaks later, if there's a real need; but this is stable and works well as is. Signed-off-by: Hugh Dickins Signed-off-by: Jens Axboe --- Reading git-diff-tree failed