Re: broken VM in 2.4.10-pre9

Stephan von Krawczynski
2001-09-16T21:59:36Z

> [...]
> 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