Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1803152imu; Fri, 14 Dec 2018 00:25:40 -0800 (PST) X-Google-Smtp-Source: AFSGD/V5YAmrEbNm4kbBaR5hX0iuMqw4q4wnUfBWXpPegJY4bqHR62h6RH+TVbJ9eUB2hsLvnLBk X-Received: by 2002:a63:e445:: with SMTP id i5mr1865737pgk.307.1544775940126; Fri, 14 Dec 2018 00:25:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544775940; cv=none; d=google.com; s=arc-20160816; b=ZiBdNalBvx2uf4RE679/jCuYFj+HMaWLcCU1rnN9FEcLYdjH+qvLk+z8yegAxjtB2V f7cPFEVZxS85i0BGb4YlWTITSblzRfjySkdlQVnkXRzGUl35PU58E0DEqQq/NkLMTvM4 0PSFJ9c37HyhE7Uji7POgwx9jHYjCPjT1ZO6em183VySBHcHGICQ7ixGsHtGUhUIiTTL A9QMrvthtcAYvaTagwbEgL1RJHMCkzfFiHDE0+uTi6wkUQdM2BAxH5cZFPsookJ8rbAV CuNHHc12wtg7qqd2+vs5G/ddK4k1O5j8Xqe+sxOERMrULbWVl2Z85d7z2YdQUGe5RFnO BB/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=FH4EplW+eMw4xxTMZdji3dllq0z7BeSI7BqihesghE4=; b=yzbjgZsjPL9pCYMuzunCZQ4h361LCtAa4EsLMXrZBVbS+MTQn7fD1bSwgUGXuW4PG+ H6q2KKOW0nFPMCODjP/oW83i8bUi8npWT0dWgdx6x6NelP4i48wWed73VRDs1mmiidFZ DiOvNENnDjHgwWa6Zw+NbtaSTnAQtj0TDJkejMLPlecMwrjpDsVUQq1Zd0vag7FuQLGa hmwhyHOh7p1jA60rRQ0irtw5z8lOm6fhAddKheZWV1FVw7RL0VsDJdeygo4sL1DPAGR4 WBjzeH3IEQDJZNz/yo7T7a5gicmGTcUE5TYV+DiRUCiK5P92hfeitNKJ+b4xDhx5iInP xt1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d23si3457322pll.161.2018.12.14.00.25.24; Fri, 14 Dec 2018 00:25:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727526AbeLNIYh (ORCPT + 99 others); Fri, 14 Dec 2018 03:24:37 -0500 Received: from mx2.suse.de ([195.135.220.15]:37474 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726533AbeLNIYg (ORCPT ); Fri, 14 Dec 2018 03:24:36 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 3000BAE72; Fri, 14 Dec 2018 08:24:35 +0000 (UTC) Date: Fri, 14 Dec 2018 09:24:33 +0100 From: Michal Hocko To: Wei Yang Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org Subject: Re: [PATCH] mm: remove unused page state adjustment macro Message-ID: <20181214082433.GJ1286@dhcp22.suse.cz> References: <20181214063211.2290-1-richard.weiyang@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181214063211.2290-1-richard.weiyang@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 14-12-18 14:32:11, Wei Yang wrote: > These four macro are not used anymore. > > Just remove them. > > Signed-off-by: Wei Yang Acked-by: Michal Hocko > --- > include/linux/vmstat.h | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/include/linux/vmstat.h b/include/linux/vmstat.h > index f25cef84b41d..2db8d60981fe 100644 > --- a/include/linux/vmstat.h > +++ b/include/linux/vmstat.h > @@ -239,11 +239,6 @@ extern unsigned long node_page_state(struct pglist_data *pgdat, > #define node_page_state(node, item) global_node_page_state(item) > #endif /* CONFIG_NUMA */ > > -#define add_zone_page_state(__z, __i, __d) mod_zone_page_state(__z, __i, __d) > -#define sub_zone_page_state(__z, __i, __d) mod_zone_page_state(__z, __i, -(__d)) > -#define add_node_page_state(__p, __i, __d) mod_node_page_state(__p, __i, __d) > -#define sub_node_page_state(__p, __i, __d) mod_node_page_state(__p, __i, -(__d)) > - > #ifdef CONFIG_SMP > void __mod_zone_page_state(struct zone *, enum zone_stat_item item, long); > void __inc_zone_page_state(struct page *, enum zone_stat_item); > -- > 2.15.1 > -- Michal Hocko SUSE Labs