Use-once change and inactive shortage calculation

From: Marcelo Tosatti (marcelo@conectiva.com.br)
Date: Mon Jul 30 2001 - 15:39:22 EST


Hi,

With Daniel's use-once change added in pre1, we have all pages added to
the pagecache moved to the inactive dirty list.

We're doing lazy list movement, so we don't update the information on the
inactive dirty list until we have a free shortage (that is, page_launder()
is not called until we have a free shortage).

This means we're not going to age pages/ptes without a free shortage,
since we always think the inactive lists have enough "inactive" pages.
Really really bad.

The best solution, IMO, is to unlazy queue movement. Doing this would
result in accurate inactive/free information.

-
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/



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