Hmm? I don't remember reporting that.
> Anyhow... I'll try your patch and see if that helps, but in someways
> the present behaviour is arguably the right thing; it's getting rid
> of pages which aren't being used, swapping at gettys and infrequently
> used bits of daemons, etc. -- but its a little too aggresive as the
> swapping starts very early and hurts performance.
I think the reason why Linus' fix doesn't help completely is that swap_out()
has its own loop that frees a lot of pages according to the priority. Maybe
the nr_free_pages > 2*freepages.high exit condition should be added there
too.
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/