Yes this is exactly what I'm describing except that I only bothered with
the readahead case, not readbehind, and I mention self-tuning the
cluster size, since this is not the same as the optimal size for random
access and it depends on how fast the process is sweeping the address
space.
Having two zones instead of one introduces another test into the soft
fault fast path, which is bad. If we keep the clusters aligned, we
could introduce a new page bit which is only set for pages that can
possibly be in those boundary zones. Use that to short-circuit the
longer tests for most soft fault pages.
-- Jamie
-
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/