Use-once change and inactive shortage calculation

From: Marcelo Tosatti (
Date: Mon Jul 30 2001 - 15:39:22 EST


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
More majordomo info at
Please read the FAQ at

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