From patchwork Fri Sep 24 22:43:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12516973 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3A83C433FE for ; Fri, 24 Sep 2021 22:43:53 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 5536E61260 for ; Fri, 24 Sep 2021 22:43:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5536E61260 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id EA2806B0082; Fri, 24 Sep 2021 18:43:52 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E52586B0083; Fri, 24 Sep 2021 18:43:52 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D22F46B0085; Fri, 24 Sep 2021 18:43:52 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0144.hostedemail.com [216.40.44.144]) by kanga.kvack.org (Postfix) with ESMTP id C34BE6B0082 for ; Fri, 24 Sep 2021 18:43:52 -0400 (EDT) Received: from smtpin04.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 770A23A7AE for ; Fri, 24 Sep 2021 22:43:52 +0000 (UTC) X-FDA: 78623945904.04.8DF747C Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf19.hostedemail.com (Postfix) with ESMTP id 3CAEBB0000A3 for ; Fri, 24 Sep 2021 22:43:52 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id DC50D6125F; Fri, 24 Sep 2021 22:43:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1632523431; bh=HCu43QJN8fFUzH4pAk1RQ0of9jxD2g34gKG0VdTvrhM=; h=Date:From:To:Subject:In-Reply-To:From; b=iYum7Ix/m2ny1WTeBnle6o3J3a4o0vmG1Q35VZplyKSwWuDwYWODHxebIaxSyPMzM hEhRiXILvtiIbJ0l3IvyfeA/RNkoE20UC918snJLXIyeaDqrewlsyzi9FlVGS7KQO4 5dduA5axwqbfr3qCXm2lWQfb65mcJwXNdrOoxoIs= Date: Fri, 24 Sep 2021 15:43:50 -0700 From: Andrew Morton To: akpm@linux-foundation.org, almasrymina@google.com, dave.hansen@linux.intel.com, jhubbard@nvidia.com, khandual@linux.vnet.ibm.com, linux-mm@kvack.org, mhocko@suse.com, minchan@kernel.org, mm-commits@vger.kernel.org, o451686892@gmail.com, osalvador@suse.de, pasha.tatashin@soleen.com, stable@vger.kernel.org, torvalds@linux-foundation.org, weixugc@google.com, willy@infradead.org, yang.shi@linux.alibaba.com, ying.huang@intel.com, ziy@nvidia.com Subject: [patch 11/16] mm/debug: sync up MR_CONTIG_RANGE and MR_LONGTERM_PIN Message-ID: <20210924224350.E8gKVdmtm%akpm@linux-foundation.org> In-Reply-To: <20210924154257.1dbf6699ab8d88c0460f924f@linux-foundation.org> User-Agent: s-nail v14.8.16 X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 3CAEBB0000A3 X-Stat-Signature: gdtxsdckx37ftymoyaispqbnyynoz7yr Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b="iYum7Ix/"; spf=pass (imf19.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-HE-Tag: 1632523432-51926 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Weizhao Ouyang Subject: mm/debug: sync up MR_CONTIG_RANGE and MR_LONGTERM_PIN Sync up MR_CONTIG_RANGE and MR_LONGTERM_PIN to migrate_reason_names. Link: https://lkml.kernel.org/r/20210921064553.293905-2-o451686892@gmail.com Fixes: 310253514bbf ("mm/migrate: rename migration reason MR_CMA to MR_CONTIG_RANGE") Fixes: d1e153fea2a8 ("mm/gup: migrate pinned pages out of movable zone") Signed-off-by: Weizhao Ouyang Reviewed-by: "Huang, Ying" Reviewed-by: John Hubbard Cc: Anshuman Khandual Cc: Michal Hocko Cc: Pavel Tatashin Cc: Yang Shi Cc: Zi Yan Cc: Dave Hansen Cc: Minchan Kim Cc: Mina Almasry Cc: "Matthew Wilcox (Oracle)" Cc: Oscar Salvador Cc: Wei Xu Cc: Signed-off-by: Andrew Morton --- mm/debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/mm/debug.c~mm-debug-sync-up-mr_contig_range-and-mr_longterm_pin +++ a/mm/debug.c @@ -24,7 +24,8 @@ const char *migrate_reason_names[MR_TYPE "syscall_or_cpuset", "mempolicy_mbind", "numa_misplaced", - "cma", + "contig_range", + "longterm_pin", }; const struct trace_print_flags pageflag_names[] = {