Messages in this thread | | | From | Johannes Weiner <> | Subject | [patch 0/2] mm: memcontrol: fix race between migration and writeback | Date | Wed, 22 Oct 2014 14:29:26 -0400 |
| |
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(-)
| |