lkml.org 
[lkml]   [2014]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[patch 0/2] mm: memcontrol: fix race between migration and writeback
Date
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(-)



\
 
 \ /
  Last update: 2014-10-22 20:41    [W:0.143 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site