Re: [PATCH/RFC] Simplified Readahead

Steven Pratt
2004-09-24T22:55:00Z

Peter Chubb wrote:

>>>>>>"Andrew" == Andrew Morton <akpm@osdl.org> writes:
>>>>>>
>>>>>>
>
>Andrew> Steven Pratt <slpratt@austin.ibm.com> wrote:
>
>
>>> The readahead code has undergone many changes in the 2.6 kernel
>>>and the current implementation is in my opinion obtuse and hard to
>>>maintain.
>>>
>>>
>
>Andrew> It did get a bit ugly - it was intially designed to handle
>Andrew> pagefault readaround and perhaps could be further simplified
>Andrew> as we're now doing that independently.
>
>If you're coding up new readahead schemes, it may be worth taking into
>account Papathanasiou and Scott, `Energy Efficient Prefetching and
>Caching'
>( http://www.usenix.org/events/usenix04/tech/general/papathanasiou/papathanasiou_html/index.html
>)
>
>
Have not had time to look into this yet, but I will.

Thanks, Steve