You're really complaining about the treatment of readahead pages, not the
used-once pages. We can arrange things so that readahead pages get higher
priority than used-once pages, then become used-once pages when... they get
used once. Simple idea, but not a one-line implementation.
> Drop-behind specifically drops the pages we have already
> used, giving better protection to the pages we are about
> to use.
>
> http://linux-mm.org/wiki/moin.cgi/StreamingIo
How will you know not to drop the pages of that header file that is used
constantly by the compiler?
-- 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/