From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f72.google.com (mail-wm0-f72.google.com [74.125.82.72]) by kanga.kvack.org (Postfix) with ESMTP id 839126B0253 for ; Mon, 18 Jul 2016 12:14:08 -0400 (EDT) Received: by mail-wm0-f72.google.com with SMTP id f126so62084954wma.3 for ; Mon, 18 Jul 2016 09:14:08 -0700 (PDT) Received: from gum.cmpxchg.org (gum.cmpxchg.org. [85.214.110.215]) by mx.google.com with ESMTPS id qw18si1961567wjb.158.2016.07.18.09.14.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Jul 2016 09:14:07 -0700 (PDT) Date: Mon, 18 Jul 2016 12:14:02 -0400 From: Johannes Weiner Subject: Re: [PATCH 3/3] mm, vmstat: remove zone and node double accounting by approximating retries -fix Message-ID: <20160718161402.GC16465@cmpxchg.org> References: <1468853426-12858-1-git-send-email-mgorman@techsingularity.net> <1468853426-12858-4-git-send-email-mgorman@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1468853426-12858-4-git-send-email-mgorman@techsingularity.net> Sender: owner-linux-mm@kvack.org List-ID: To: Mel Gorman Cc: Andrew Morton , Minchan Kim , Vlastimil Babka , Linux-MM , LKML On Mon, Jul 18, 2016 at 03:50:26PM +0100, Mel Gorman wrote: > As pointed out by Vlastimil, the atomic_add() functions are already assumed > to be able to handle negative numbers. The atomic_sub handling was wrong > anyway but this patch fixes it unconditionally. > > This is a fix to the mmotm patch > mm-vmstat-remove-zone-and-node-double-accounting-by-approximating-retries.patch > > Signed-off-by: Mel Gorman Acked-by: Johannes Weiner -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752000AbcGRQOK (ORCPT ); Mon, 18 Jul 2016 12:14:10 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:53258 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751590AbcGRQOJ (ORCPT ); Mon, 18 Jul 2016 12:14:09 -0400 Date: Mon, 18 Jul 2016 12:14:02 -0400 From: Johannes Weiner To: Mel Gorman Cc: Andrew Morton , Minchan Kim , Vlastimil Babka , Linux-MM , LKML Subject: Re: [PATCH 3/3] mm, vmstat: remove zone and node double accounting by approximating retries -fix Message-ID: <20160718161402.GC16465@cmpxchg.org> References: <1468853426-12858-1-git-send-email-mgorman@techsingularity.net> <1468853426-12858-4-git-send-email-mgorman@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1468853426-12858-4-git-send-email-mgorman@techsingularity.net> User-Agent: Mutt/1.6.2 (2016-07-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 18, 2016 at 03:50:26PM +0100, Mel Gorman wrote: > As pointed out by Vlastimil, the atomic_add() functions are already assumed > to be able to handle negative numbers. The atomic_sub handling was wrong > anyway but this patch fixes it unconditionally. > > This is a fix to the mmotm patch > mm-vmstat-remove-zone-and-node-double-accounting-by-approximating-retries.patch > > Signed-off-by: Mel Gorman Acked-by: Johannes Weiner