Have not had time to look into this yet, but I will."Andrew" == Andrew Morton <akpm@xxxxxxxx> writes:
Andrew> Steven Pratt <slpratt@xxxxxxxxxxxxxx> 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
)