From: Johannes Weiner Date: Fri, 8 Aug 2014 21:19:33 +0000 (-0700) Subject: mm: memcontrol: avoid charge statistics churn during page migration X-Git-Tag: cleanup-for-v3.18~75^2~184 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6abb5a867ba0866cb21827b172cee6aa71244bd1;p=pandora-kernel.git mm: memcontrol: avoid charge statistics churn during page migration Charge migration currently disables IRQs twice to update the charge statistics for the old page and then again for the new page. But migration is a seamless transition of a charge from one physical page to another one of the same size, so this should be a non-event from an accounting point of view. Leave the statistics alone. Signed-off-by: Johannes Weiner Acked-by: Michal Hocko Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed