diff options
author | Fengguang Wu <wfg@mail.ustc.edu.cn> | 2007-07-19 01:48:02 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 10:04:44 -0700 |
commit | 3ea89ee86a82e9fbde37018d9b9e92a552e5fd13 (patch) | |
tree | 5fef7216ef39d66684754e4aadf368ce9adfd72e /mm/shmem.c | |
parent | 122a21d11cbfda6d1e33cbc8ae9e4c4ee2f1886e (diff) | |
download | kernel_samsung_tuna-3ea89ee86a82e9fbde37018d9b9e92a552e5fd13.zip kernel_samsung_tuna-3ea89ee86a82e9fbde37018d9b9e92a552e5fd13.tar.gz kernel_samsung_tuna-3ea89ee86a82e9fbde37018d9b9e92a552e5fd13.tar.bz2 |
readahead: convert filemap invocations
Convert filemap reads to use on-demand readahead.
The new call scheme is to
- call readahead on non-cached page
- call readahead on look-ahead page
- update prev_index when finished with the read request
Signed-off-by: Fengguang Wu <wfg@mail.ustc.edu.cn>
Cc: Steven Pratt <slpratt@austin.ibm.com>
Cc: Ram Pai <linuxram@us.ibm.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions