Use-once change and inactive shortage calculation

Marcelo Tosatti (marcelo@conectiva.com.br)
Mon, 30 Jul 2001 17:39:22 -0300 (BRT)


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/