Re: broken VM in 2.4.10-pre9

Stephan von Krawczynski (skraw@ithnet.com)
Sun, 16 Sep 2001 23:59:33 +0100


> [...]
> Anybody willing to test the simple used-once cleanups? No
guarantees, but
> at least they make sense (some of the old interactions certainly do
not).

Very willing. Just send it to me, please.

> (The new code is a simple state machine:
>
> - touch non-referenced page: set the reference bit
>
> - touch already referenced page: move it to next list "upwards" (ie
the
> active list)
>
> - age a non-referenced page on a list: move to "next" list
downwards (ie
> free if already inactive, move to inactive if currently active)
>
> - age a referenced page on a list: clear ref bit and move to
beginning of
> same list.

Are you sure about the _beginning_? You are aging out _all_ non-ref
pages in the next step?

Regards,
Stephan



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