Re: replacing the page replacement algo.

Eric W. Biederman (ebiederm@xmission.com)
19 Nov 2001 20:49:06 -0700


Shaya Potter <spotter@cs.columbia.edu> writes:

> ok, but if what I'm interested in playing with right now is playing
> around with which pages get swapped out, and not with the actual
> reclamation procedure, is it ok to just play with swap_out and having it
> do the thing it does, and let the rest of the kernel behave as is, or
> will this cause problems?

The name of swap_out is historical. It currently does no writing to
disk it just removes the page from the page tables. But the page is
still in RAM. The other routines are what decide which page should
actually be reused, or which pages get written.

The current code is both simple, auto-tuning and does a fairly good
job so look very closely at it before trying to randomly tune it.

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