Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3375186ybc; Thu, 21 Nov 2019 07:26:45 -0800 (PST) X-Google-Smtp-Source: APXvYqzOfmwwyBxQy9Fr5ZIThq1cwG5Yyh8QBjKHQDRwn+lJP9bMs1g3/LYszLpmSZdprYon4VAz X-Received: by 2002:a17:906:53c7:: with SMTP id p7mr14551624ejo.88.1574350005641; Thu, 21 Nov 2019 07:26:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574350005; cv=none; d=google.com; s=arc-20160816; b=aQbKZV1Td+PzgvDywkOY2Xq9QBvO3ZvAxw2640pvSxMYeG7VdfdT/HaNU7TOOxUT5b m/2YuI7SwN9bUskZZxvyBVmm1k1H6b7nNF0tIjRsM4CTC4XNAvb3X1INvcv6YvSxn0pd wp2UvBU/h/g8H6CM2MhcaCXQxODL++a8jkgk8EDWOOxWwuuCXI44z7SLqwbQARQflf99 fOst053U/zIGwMwhWqiQPNV4SNkxip+8sDUmcsiodXcbNPVkFcfU5mewrFeqCW/TKpfw 6+lLTaf9OpVH1XHVGQCcc3/m78DIpz6QbmAxgMtH8vS1hD1LN23nSS6XMdshRzYrBNKP 5mug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=HdRtuxK6Ax5thXdvHkkMWVQF+8nfLiV0YKN+7EODenw=; b=sSd1X1sCzLgHS+E4xXWjAU2HvpaM0HC3DnygBVDzlBjvOEz/G1PKNHbf9c/T/bP/GP 12eTdb/Abh783ak6Rvh65P/wuR92hf+9aWLQk/+8vF+y1WqH6dpLes0YyLCuQkop56kT FMx/lnT/AE2D+L/+M5HXqYjQvm8bkPOVoDd3ag8eKlbN8krX5Zh0eTpSF0ItdBOYsfRz jpcmeBL/Jy0fUzV68q4JjjueqrRP5N5Vx0Cvb9aA169qQ90s+fVN6mEFFN7mmgfw+j5S AXWTn/02EzY9jxe7W4RhDQbJO/3lBTxDb/J16r2DDbv7wjNRryW1V5t2Bq4v/AM0TNOs +V1Q== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d13si176807ejr.23.2019.11.21.07.26.20; Thu, 21 Nov 2019 07:26:45 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727355AbfKUPWR (ORCPT + 99 others); Thu, 21 Nov 2019 10:22:17 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:55285 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726784AbfKUPWQ (ORCPT ); Thu, 21 Nov 2019 10:22:16 -0500 X-Originating-IP: 153.3.140.100 Received: from localhost.localdomain.localdomain (unknown [153.3.140.100]) (Authenticated sender: fly@kernel.page) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 14DCF1C000D; Thu, 21 Nov 2019 15:22:05 +0000 (UTC) From: Pengfei Li To: akpm@linux-foundation.org Cc: mgorman@techsingularity.net, mhocko@kernel.org, vbabka@suse.cz, cl@linux.com, iamjoonsoo.kim@lge.com, guro@fb.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Pengfei Li Subject: [RFC v1 15/19] mm, mm_init: rename mminit_verify_zonelist Date: Thu, 21 Nov 2019 23:18:07 +0800 Message-Id: <20191121151811.49742-16-fly@kernel.page> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191121151811.49742-1-fly@kernel.page> References: <20191121151811.49742-1-fly@kernel.page> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a cleanup patch. Rename mminit_verify_zonelist to mminit_verify_nodelist. Signed-off-by: Pengfei Li --- mm/internal.h | 4 ++-- mm/mm_init.c | 2 +- mm/page_alloc.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mm/internal.h b/mm/internal.h index 90008f9fe7d9..73ba9b6376cd 100644 --- a/mm/internal.h +++ b/mm/internal.h @@ -443,7 +443,7 @@ do { \ } while (0) extern void mminit_verify_pageflags_layout(void); -extern void mminit_verify_zonelist(void); +extern void mminit_verify_nodelist(void); #else static inline void mminit_dprintk(enum mminit_level level, @@ -455,7 +455,7 @@ static inline void mminit_verify_pageflags_layout(void) { } -static inline void mminit_verify_zonelist(void) +static inline void mminit_verify_nodelist(void) { } #endif /* CONFIG_DEBUG_MEMORY_INIT */ diff --git a/mm/mm_init.c b/mm/mm_init.c index 448e3228a911..ac91374b0e95 100644 --- a/mm/mm_init.c +++ b/mm/mm_init.c @@ -59,7 +59,7 @@ void __init mminit_print_nodelist(int nid, int nl_type) } /* The zonelists are simply reported, validation is manual. */ -void __init mminit_verify_zonelist(void) +void __init mminit_verify_nodelist(void) { int nid; diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 3987b8e97158..5b735eb88c0d 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -5803,7 +5803,7 @@ build_all_zonelists_init(void) for_each_possible_cpu(cpu) setup_pageset(&per_cpu(boot_pageset, cpu), 0); - mminit_verify_zonelist(); + mminit_verify_nodelist(); cpuset_init_current_mems_allowed(); } -- 2.23.0