[patch 0/2] mm: memcg reclaim integration followups

From: Johannes Weiner
Date: Tue Jan 10 2012 - 10:03:11 EST


Hi,

here are two patches based on memcg-aware global reclaim, which I
dropped from the initial series to focus on the exclusive-lru changes.

The first one is per-memcg reclaim statistics. For now, they include
only pages scanned and pages reclaimed, separately for direct reclaim
and kswapd, as well as separately for internal pressure or reclaim due
to parental memcgs.

The second one is integrating soft limit reclaim into the now
memcg-aware global reclaim path. It kills a lot of code and performs
better as far as I have tested it. Furthermore, Ying is working on
turning soft limits into guarantees, as discussed in Prague, and this
patch is also in preparation for that.

Sorry for the odd point in time to submit this, I guess this will mean
3.4 at the earliest. But the soft limit removal is a bit heavy weight
so it's probably easier conflict-wise to have it at the bottom of the
-mm stack.

Documentation/cgroups/memory.txt | 4 +
include/linux/memcontrol.h | 28 ++-
mm/memcontrol.c | 482 +++++++++-----------------------------
mm/vmscan.c | 87 ++------
4 files changed, 144 insertions(+), 457 deletions(-)
--
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/