diff options
author | 2006-03-22 00:08:47 -0800 | |
---|---|---|
committer | 2006-03-22 07:54:03 -0800 | |
commit | a564da3964db3256069190c2ae95069143ac37fb (patch) | |
tree | b7b9d66c1d6dde82db23222b16b0296013b1c3db /include/asm-i386/pgtable.h | |
parent | [PATCH] shmem: inline to avoid warning (diff) | |
download | linux-dev-a564da3964db3256069190c2ae95069143ac37fb.tar.xz linux-dev-a564da3964db3256069190c2ae95069143ac37fb.zip |
[PATCH] readahead: ->prev_page can overrun the ahead window
If get_next_ra_size() does not grow fast enough, ->prev_page can overrun
the ahead window. This means the caller will read the pages from
->ahead_start + ->ahead_size to ->prev_page synchronously.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Steven Pratt <slpratt@austin.ibm.com>
Cc: Ram Pai <linuxram@us.ibm.com>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-i386/pgtable.h')
0 files changed, 0 insertions, 0 deletions