From: Oleg Nesterov Date: Wed, 22 Mar 2006 08:08:47 +0000 (-0800) Subject: [PATCH] readahead: ->prev_page can overrun the ahead window X-Git-Tag: v2.6.17-rc1~1129^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a564da3964db3256069190c2ae95069143ac37fb;p=pandora-kernel.git [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 Cc: Steven Pratt Cc: Ram Pai Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed