[patch 0/2] mm: memcontrol: fix race between migration and writeback

From: Johannes Weiner
Date: Wed Oct 22 2014 - 14:29:43 EST


This is fall-out from the memcg lifetime rework in 3.17, where
writeback statistics can get lost against a migrating page.

The (-stable) fix is adapting the page stat side to the new lifetime
rules, rather than making an exception specifically for them, which
seems less error prone and generally the right way forward.

include/linux/memcontrol.h | 58 ++++++++++++++--------------------------------
include/linux/mm.h | 1 -
mm/memcontrol.c | 54 ++++++++++++++++++------------------------
mm/page-writeback.c | 43 ++++++++++++----------------------
mm/rmap.c | 20 ++++++++--------
5 files changed, 64 insertions(+), 112 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/