Re: [RFC] Optimization for use-once pages

Date: Tue Jul 24 2001 - 07:38:09 EST

On Tue, Jul 24, 2001 at 05:47:30AM +0200, Daniel Phillips wrote:

> So I decided to look for a new way of approaching the use-once problem
> that would easily integrated with our current approach. What I came
> up with is pretty simple: instead of starting a newly allocated page on
> the active ring, I start it on the inactive queue with an age of zero.
> Then, any time generic_file_read or write references a page, if its
> age is zero, set its age to START_AGE and mark it as unreferenced.

This is wonderfully simple and ellegant.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:15 EST