diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2006-03-22 00:08:47 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-22 07:54:03 -0800 |
commit | a564da3964db3256069190c2ae95069143ac37fb (patch) | |
tree | b7b9d66c1d6dde82db23222b16b0296013b1c3db /mm/mprotect.c | |
parent | d15c023b44e5d323f1f4130b85d29f08e43433b1 (diff) | |
download | linux-a564da3964db3256069190c2ae95069143ac37fb.tar.gz linux-a564da3964db3256069190c2ae95069143ac37fb.tar.bz2 linux-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 'mm/mprotect.c')
0 files changed, 0 insertions, 0 deletions