Sure it will. The readahead page will have to go all the way from one end of
the inactive_dirty list to the other, then all the way down the
inactive_clean list. That should be plenty of time for the SetPageReferenced
to catch it. The main possibility to screw up is if we scan the inactive
lists too fast, which probably happens sometimes because it's all grossly
uncalibrated right now.
That's another issue, it needs fixing. We'll never have really consistent,
predictable aging or any other vm behaviour until the list scanning is
operating in a rock-solid way.
As long as it isn't happening frequently we will be ok for now.
-- Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/