From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752378AbcGMNRH (ORCPT ); Wed, 13 Jul 2016 09:17:07 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:52310 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751880AbcGMNQx (ORCPT ); Wed, 13 Jul 2016 09:16:53 -0400 Date: Wed, 13 Jul 2016 09:16:33 -0400 From: Johannes Weiner To: Mel Gorman Cc: Andrew Morton , Linux-MM , Minchan Kim , LKML Subject: Re: [PATCH 4/4] mm: move most file-based accounting to the node -fix Message-ID: <20160713131633.GF9905@cmpxchg.org> References: <1468404004-5085-1-git-send-email-mgorman@techsingularity.net> <1468404004-5085-5-git-send-email-mgorman@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1468404004-5085-5-git-send-email-mgorman@techsingularity.net> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 13, 2016 at 11:00:04AM +0100, Mel Gorman wrote: > As noted by Johannes Weiner, NR_ZONE_WRITE_PENDING gets decremented twice > during migration instead of a dec(old) -> inc(new) cycle as intended. > > This is a fix to mmotm patch > mm-move-most-file-based-accounting-to-the-node.patch > > Note that it'll cause a conflict with > mm-vmstat-remove-zone-and-node-double-accounting-by-approximating-retries.patch > but that the resolution is trivial. > > Signed-off-by: Mel Gorman Acked-by: Johannes Weiner