summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorHugh Dickins <hughd@google.com>2011-07-25 17:12:34 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-25 20:57:11 -0700
commit9276aad6c898dbcc31d095f2934dedd5cbb2e93e (patch)
tree7ba68f82aa8b747e11d9cfb79c4fe06188b7b2c7 /tools/perf
parent68da9f055755ee2609a1686722e6d6a7980019ee (diff)
tmpfs: remove_shmem_readpage
Remove that pernicious shmem_readpage() at last: the things we needed it for (splice, loop, sendfile, i915 GEM) are now fully taken care of by shmem_file_splice_read() and shmem_read_mapping_page_gfp(). This removal clears the way for a simpler shmem_getpage_gfp(), since page is never passed in; but leave most of that cleanup until after. sys_readahead() and sys_fadvise(POSIX_FADV_WILLNEED) will now EINVAL, instead of unexpectedly trying to read ahead on tmpfs: if that proves to be an issue for someone, then we can either arrange for them to return success instead, or try to implement async readahead on tmpfs. Signed-off-by: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions