Re: [PATCH] vmscan: evict use-once pages first (v2)

From: Peter Zijlstra
Date: Mon May 04 2009 - 04:05:30 EST


On Fri, 2009-05-01 at 12:35 -0700, Andrew Morton wrote:

> No, I think it still _is_ the case. When reclaim is treating mapped
> and non-mapped pages equally, the end result sucks. Applications get
> all laggy and humans get irritated. It may be that the system was
> optimised from an overall throughput POV, but the result was
> *irritating*.
>
> Which led us to prefer to retain mapped pages. This had nothing at all
> to do with internal impementation details - it was a design objective
> based upon empirical observation of system behaviour.

Shouldn't we make a distinction between PROT_EXEC and other mappings in
this? Because as soon as you're running an application that uses gobs
and gobs of mmap'ed memory, the mapped vs non-mapped thing breaks down.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/