[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070412155751.GC23348@duck.suse.cz>
Date: Thu, 12 Apr 2007 17:57:51 +0200
From: Jan Kara <jack@...e.cz>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Improve heuristic detecting sequential reads
On Tue 10-04-07 19:27:22, Andrew Morton wrote:
> And shouldn't offset be called prev_offset? Or should prev_page be called
> page? Or index? Or prev_index? Or Marmaduke? The naming is all a mess.
>
> Wanna take a look at all of this, please?
OK, attached is a patch which changes prev_page to prev_index and offset
to prev_offset. It's still a bit misleading that in mm/filemap.c, variables
with page-numbers are called <something>_index while in mm/readahead.c they
are often called just offset... But let's leave it for next time.
Honza
--
Jan Kara <jack@...e.cz>
SuSE CR Labs
View attachment "readahead-2.6.21-rc6-tidy.diff" of type "text/x-patch" (6482 bytes)
Powered by blists - more mailing lists