I have a strong feeling that it will miserably fail on
tiled data and on programs where non-page-aligned data
is referenced.
My (just slightly more complicated) algorithm will also
work on these things. Using the offset within the page
might work to, but that hint is a bit too 'local' IMHO...
Using a 16-page (or more?) neighbourhood will give us a
somewhat bigger view on the situation, something more
close to the scale on which the readahead itself is
performed.
Then again, I'm just a physics student and you're a CS
person :) Maybe Alan, Ingo, Stephen or DaveM have something
useful to say as well...
regards,
Rik -- the flu hits, the flu hits, the flu hits -- MORE
+-------------------------------------------------------------------+
| Linux memory management tour guide. H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/