From: Hugh Dickins Date: Tue, 26 Jul 2011 00:12:33 +0000 (-0700) Subject: tmpfs: refine shmem_file_splice_read X-Git-Tag: v3.1-rc1~241^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71f0e07a605fad1fb6b288e4dc1dd8dfa78f4872;p=pandora-kernel.git tmpfs: refine shmem_file_splice_read Tidy up shmem_file_splice_read(): Remove readahead: okay, we could implement shmem readahead on swap, but have never done so before, swap being the slow exceptional path. Use shmem_getpage() instead of find_or_create_page() plus ->readpage(). Remove several comments: sorry, I found them more distracting than helpful, and this will not be the reference version of splice_read(). Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed