Re: [PATCH 3/4] cleanup ahead window calculation

2005-01-25 Thread Steven Pratt
Not sure how much better this is, but it doesn't hurt anything. Steve Oleg Nesterov wrote: This patch moves some code into the get_next_ra_size() and renames it into 'set_next_ahead_window'. Signed-off-by: Oleg Nesterov <[EMAIL PROTECTED]> --- 2.6.11-rc2/mm/readahead.c~ 2005-01-25 15:17:13.000

[PATCH 3/4] cleanup ahead window calculation

2005-01-25 Thread Oleg Nesterov
This patch moves some code into the get_next_ra_size() and renames it into 'set_next_ahead_window'. Signed-off-by: Oleg Nesterov <[EMAIL PROTECTED]> --- 2.6.11-rc2/mm/readahead.c~ 2005-01-25 15:17:13.0 +0300 +++ 2.6.11-rc2/mm/readahead.c 2005-01-25 16:51:50.0 +0300 @@ -85,20 +8