Consistent page aging....

Eric W. Biederman
2001-07-25T10:10:48Z

Marcelo Tosatti <marcelo@conectiva.com.br> writes:

> Sorry, Eric.
>
> The biggest 2.4 swapping bug is that we need to allocate swap space for a
> page to be able to age it.

Well I guess biggest bug is a debatable title.

> We had to be able to age pages without allocating swap space...

That sounds reasonable. I haven't been over the aging code lately it
keeps changing. You say this hasn't been fixed? Looking... O.k. I
see what you are talking about.

I don't see any technical reasons why we can't do this. Doing it
without adding many extra special cases would require some thinking
but nothing fundamental says you can't have anonymous pages in the
active list. You can't move mapped pages off of the active list
but this holds true anyway.

The only benefit this would bring is that after anonymous pages have
been converted to swappable pages they wouldn't start at the end of
the active_list.

I can see how this would be helpful, but unless you benchmark this
I don't see how this can as the biggest 2.4 swapping bug.