Re: [RFC] Optimization for use-once pages

From: Daniel Phillips (
Date: Thu Jul 26 2001 - 07:17:58 EST

On Thursday 26 July 2001 12:38, Marcelo Tosatti wrote:
> On Thu, 26 Jul 2001, Daniel Phillips wrote:
> > There does seem to be a dangling thread here though - when a
> > process page is unmapped and added to swap cache in try_to_swap_out
> > then later faulted back in, I don't see where we "rescue" the page
> > from the inactive queue. Maybe I'm just not looking hard enough.
> do_swap_page()->lookup_swap_cache()->__find_page_nolock()->SetPageRef
> The referenced bit will make page_launder/reclaim_page move the page
> to the active list.

Yes. And there I set ->age to a known state (START_AGE), so everything
seems to be in order.

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:26 EST