Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1066722pxb; Sun, 19 Sep 2021 05:12:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxn/IdzanR8MXTUpL6d/XoYwohuaTmDMKCceFHjpxr3IsOcQ3J+4G0nJU1CGrdlkD9o9kS3 X-Received: by 2002:a05:6402:386:: with SMTP id o6mr23969389edv.110.1632053541799; Sun, 19 Sep 2021 05:12:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1632053541; cv=pass; d=google.com; s=arc-20160816; b=Smz2SaTA+vNjpexhue/szGmKzxbU0VLwgSHZNOqQoeOv+etko5mlh8k6lLOLPN85Xg eVVu86BKL1fiQIQ+xgdqe4g/CJMMnTxu+x8VYQM1a93LNesHpHxSTK/N2d8cBlfnlRR0 aMyR2E8vYAegBDDzruZNDsszR/n9ZcxBftWqBT3M8gT5AHFeksARulIN4tPvTMfzFh/x ubtmg9v2W7zuzWsMI/a9OVHv5CZ+OyaEakLbMbeWMTAOWwgB7ItJAzMcYwwovupiXWsE EOqLTLFlvqY9SzF/XZ3pbe0a8QnPvvvd6Iae5YdDW5xSgM+MnzwQa7oQvVDu5xUcVY5g da9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:from:references:cc:to :content-language:subject:user-agent:date:message-id:dkim-signature; bh=a44xLc72LA9fszVSF1INlFZAoGCITAW3L7u1jklVsYg=; b=XttkLbw+kuw5t+3N89Sy0uxrXp9866/BUbhQP5MDTWvVeuBwU7KUdlU6MV94vKsJOV C7xWC0qwc0adived0ELrZNZ37k4tN/UKDJAEWSZYWPiVRb469JkmpbAzHFduRO/LuZu7 mkknKIlc19f2NDUILSLmxF7eaoDdvMknE3Ba+FYzzuvk1Gwc+GZkh/ySfW/sziOMQ0rf iyU+k0dMHldJq7vxh7we5OBy/r90uIV9aniVl5Q7leU+ddjT7BsyrkUXJ2kVjGZ+atJD 4Jt7IouYuMWju/LkAXJC+KbX3grISKbWXyCfsWL8y4kbD/13f+33EnXot4u+lJVMBZvV P2Kw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=drh9tMZP; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j23si15963809eje.21.2021.09.19.05.11.58; Sun, 19 Sep 2021 05:12:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=drh9tMZP; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232126AbhISFjk (ORCPT + 99 others); Sun, 19 Sep 2021 01:39:40 -0400 Received: from mail-dm6nam08on2058.outbound.protection.outlook.com ([40.107.102.58]:3009 "EHLO NAM04-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229558AbhISFjj (ORCPT ); Sun, 19 Sep 2021 01:39:39 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KME/asKNhAqmFqA64vGHF7rR4lCmL/39FvacYr+nthnXNe4FJ7niO9x2ATjn3F3XA987de+TrQ3/jWBrieKJPcJWI2RRXUxA25Jlv2ZMGrM1QxH4312lBYPlUfiWYHFc41BK2XWF2uzllMb0Z6oLFVIoAdiLSLS9ax3/xSTW8DyoontV+5mmJOtYN0M+r/meZvUoaOrhTkBS/Lj61EaMAe8fdY+gENJUI2eAeBj7s7pjvlLUNBLVzxka390WMqZ4v2eqxiwu1yBbIRnUdhJ0omDhWLQ1Q2Zvxb3RiQ4HrpYV8LlHbMTEPvkM7ontiaavYum6MCEfpful3APziA3Q3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=a44xLc72LA9fszVSF1INlFZAoGCITAW3L7u1jklVsYg=; b=SONDqvDA2N+BB96k6j1SHKonzXBso6c0qZ1DYxlT9f81w0Js9nISGhbJMf15TqXdALQ1XEpnXIox5k/xfkYnI7llDOpgKYpk/xxqgGC7Bct7tHz2lqHTNnN8H/qzOtoFRhF0FXZiUKMzrZg1D6wBKSFd9ZiWvDhWIogxymuByDlzWfEkdSPCRqZuAxF4/KmbcWT/3Zki7gydCqMrGOuFwAMYzSGtae2A+o7Ueu+1xxM0vLvWQPWX7/+9xSXXjcPYk4ehenwHEhZsuyL2DtRS8dWwXwektV1pwTXsERCWGhYyq2RebIk1N18ecmjuGxssLVptW7ugVJORmCmBs0Dd5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=a44xLc72LA9fszVSF1INlFZAoGCITAW3L7u1jklVsYg=; b=drh9tMZPUDIEDomAivZXXjmZVp2cnzHVoFp8icAApJp1PIV7WbczOtlmkld3nZHbHjkg1LgY7LfwEc6KjMzO9jjM3EGaqym9jNKlldhpkzKJcvnhDknt8bbHqKor8+hjSX4jRHD0U0fNh2lUPjlV5MCrmXWU8cjmeDBd9bB0Ea2jAK9w5b+k6npLedB+k5boky3p3Gb9cRFrLtmHdGKOUjppNzhr5d133VbuXWjtnoTYZ12SDJ2/HWkWFJyZRJxr/BRJjZqizAcH92yQGjRA5i948UokW9abkH4GNUfDV3V9Zo8xoHFmrnVDxGeM34sk6TcRoKDVuiAqQ3Bz3AHcLA== Authentication-Results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=nvidia.com; Received: from BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) by BY5PR12MB3972.namprd12.prod.outlook.com (2603:10b6:a03:1a8::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.16; Sun, 19 Sep 2021 05:38:12 +0000 Received: from BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::6811:59ee:b39f:97b9]) by BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::6811:59ee:b39f:97b9%9]) with mapi id 15.20.4523.018; Sun, 19 Sep 2021 05:38:12 +0000 Content-Type: multipart/mixed; boundary="------------6JJJW1UqstnyHETYV7hjMYnp" Message-ID: Date: Sat, 18 Sep 2021 22:38:10 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: [PATCH] mm/debug: sync up latest migrate_reason to migrate_reason_names Content-Language: en-US To: Weizhao Ouyang , "Huang, Ying" Cc: Andrew Morton , Pavel Tatashin , Oscar Salvador , Yang Shi , Zi Yan , Dave Hansen , linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20210917061432.323777-1-o451686892@gmail.com> <871r5nptt7.fsf@yhuang6-desk2.ccr.corp.intel.com> <89a06743-b37a-b85a-1c04-5d863a1d2cb4@gmail.com> <3cf9bb7f-618e-4e4b-32d6-4d3c207b9a9a@nvidia.com> From: John Hubbard In-Reply-To: X-ClientProxiedBy: BYAPR01CA0038.prod.exchangelabs.com (2603:10b6:a03:94::15) To BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) MIME-Version: 1.0 Received: from [10.2.48.243] (216.228.112.22) by BYAPR01CA0038.prod.exchangelabs.com (2603:10b6:a03:94::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14 via Frontend Transport; Sun, 19 Sep 2021 05:38:11 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 24625584-bbdd-4001-9768-08d97b2fab6b X-MS-TrafficTypeDiagnostic: BY5PR12MB3972: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ci9RJiH7zzMQHytL6idj69c4VqS+qnOXgaMNAnAIrdj2KvsdQqm6WaMzfQWI4o2ED9ZfvgLnt8RwBpSevS9IKKq1nO7B2HqWM5P4ItNZtvj1R2vOyL4FvSJtD6zC0ytFCDFf35xKrt5Qhh29Lz1pE57c8Sas9W/K+7vgojTQjscoP7rcDvuywUzBIn/yPnvsH+4LB18KJwx2idlLq807o7QaGADdF5wM4wRn/F+W6SoGxQJ1XtS5acy2ie85bFe4McQvnnO7upyQKBx7oh2j7BC0cXpL+6t+wgEioRevF6h+0Gj+HoVOcjEvxWAV/3KdUGlpCqgny98pDTnaAD+YcSwBqTPuKCKzlISAGibOAXdBbSt8ZkkgW0QfXDb0FJj17YDtyyQ5hANaIHYjSTmY1FXvkYkACsPRTpE2NIhSuYXBn2OomdWlbPPtdX8OVXI5uYcnFhF8lbVPEK8mKHQn05vydOY0pnje3/+mTrXH4XuM1udRs4T23qmRD5p085efK4scJPjdfZ9u3nVjCgKCh17yoT55lQuV1cNPLFYQdbHIcA8+T3I2E10LnVTTTv7obVeUwQM6dOHWaTY470M9PXEpSWwWuPomoyUNbXAmkgDQB+/r4rIXZj0MYKMJIGcAhNms4TC4ZLS7Ju0U+VCVZsk5FNgfFQ2ELfY7UyWpFFbLetoRJVKnLH3YZAtSiKWbXKWzWeIu8G7rJgSnvREKWg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR12MB4130.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39860400002)(136003)(396003)(376002)(346002)(366004)(31696002)(33964004)(83380400001)(38100700002)(66616009)(31686004)(235185007)(186003)(66946007)(110136005)(66476007)(6486002)(5660300002)(66556008)(2906002)(36756003)(316002)(86362001)(4326008)(2616005)(54906003)(8936002)(16576012)(26005)(478600001)(956004)(8676002)(53546011)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZC9TaXpuSnJRMklqVkZmRUdlZTRHME5uNDU0WVpqMmp4RmpKZEJBSzZoaE5t?= =?utf-8?B?MDVpV2Q5TFRtN09oeXltRG5WSXYwQzF1U1JrcTdiNGpINnFDWGpTWCtDdTFp?= =?utf-8?B?ZzVaVnhYQldQR2RvalRjVUw5UVpEeFVYQ0tsTlh3UVhtZXJJNERzYnBETktD?= =?utf-8?B?OWNjRiszSHhEUXY0bnlTQjc3Y2hUR3luNUE1SHQwc0tmVUVrckUxSmV0c2VT?= =?utf-8?B?MnQ1NWU2RzdXaVVDOHlGMkxFRmhZZkc4V2xFdWNGby9Nc1JRdWpDeDNjNGll?= =?utf-8?B?My9xNzBRMmhlUjkyMWh1RTB1dGk4cEc0aVBuaEZWMUF6b0ZaSGdUNlp3cyta?= =?utf-8?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y?= =?utf-8?B?ZC9VMlM0QUd2ai9ZTmpuVDVRSGJXNmlPZkQyNFphQzlMQjNHOHV5ZVp4YjVD?= =?utf-8?B?eVJkbmtoNzBHTStsL1hXWTFHaFYrQ3VxQTRNamNZOWNMNVdJcmpmd2h5NVF4?= =?utf-8?B?bWV3TzVUcU5BeE1OeVduRDd4L2wvdWZUQWZlN2FsVlpHTnlQTFZxSnhnMWRP?= =?utf-8?B?eEQ3TUVBbUFSVlF6UlZuWjk2cVhXQytnMzFmdTQxSkQzbXBiZlJSYXFFTXlt?= =?utf-8?B?bE9xdmpqM2dOU2RCUSs1ZTFtYmtoNTJoTll2c2hoUTVVdHdId2MrT2xEWVQz?= =?utf-8?B?R05vSWcyaUZDUU9EdFZVYjlGSEN0M1lLb3RxZ1g5citxc09reUVHdTh6cWpk?= =?utf-8?B?a1FEWEJwdDIxUk9BTGE3Mlk3UmhmUkoyUjIrZEsxbGNVVjZscCtpTmtFK2NB?= =?utf-8?B?NnAyQXBNNlNEekgza2ZaZ2pPWS9NOURDOXMwRlA5YUx2eGJBNXRyYURCODF6?= =?utf-8?Q?GCJQxdJxm1mXZAZUqahBrcPrS0cQMyAs7AVx6iE?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 24625584-bbdd-4001-9768-08d97b2fab6b X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4130.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2021 05:38:12.0992 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: OOwF8Aq+AqiSojAlIXEy8eISKAa4BGjEjwv1bnfUWBZi9DQ0ogDSLFNUhwnmOh+WtOxkJ9MoCPYnqKpGXRhTmw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB3972 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --------------6JJJW1UqstnyHETYV7hjMYnp Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 9/18/21 00:03, Weizhao Ouyang wrote: ... > > Anyway, I didn't find a simply way the build the "everywhere" relationship behind > the packaged TRACE_DEFINE_ENUM , what do you think. > It's actually pretty easy, unless I'm unknowingly violating some rule here. But I did review tracing a bit before diving in, and I think this is reasonable. The trace macros EM(), EMe(), and MIGRATE_REASON are flexible enough to get whatever you want, out of them. So, the trace header can be the one location for the definition of the enum-to-string mapping. The key is to move the enum to a common header file that both the trace system (trace/events/migrate.h) and the migrate header (include/linux/migrate.h) can include. Fortunately, that's already been started for enum migrate_mode: there is migrate_mode.h. So it all works approximately like this, below. (I'll attach a white-space-correct diff that you can apply directly, too). I've compiled tested and rebooted with it, but haven't checked much more than that yet. --- include/linux/migrate.h | 16 ++-------------- include/linux/migrate_mode.h | 13 +++++++++++++ mm/debug.c | 19 ++++++++++++------- 3 files changed, 27 insertions(+), 21 deletions(-) diff --git a/include/linux/migrate.h b/include/linux/migrate.h index 326250996b4e..cb62fbc3d8d6 100644 --- a/include/linux/migrate.h +++ b/include/linux/migrate.h @@ -6,6 +6,7 @@ #include #include #include +#include typedef struct page *new_page_t(struct page *page, unsigned long private); typedef void free_page_t(struct page *page, unsigned long private); @@ -19,20 +20,7 @@ struct migration_target_control; */ #define MIGRATEPAGE_SUCCESS 0 -enum migrate_reason { - MR_COMPACTION, - MR_MEMORY_FAILURE, - MR_MEMORY_HOTPLUG, - MR_SYSCALL, /* also applies to cpusets */ - MR_MEMPOLICY_MBIND, - MR_NUMA_MISPLACED, - MR_CONTIG_RANGE, - MR_LONGTERM_PIN, - MR_DEMOTION, - MR_TYPES -}; - -/* In mm/debug.c; also keep sync with include/trace/events/migrate.h */ +/* In mm/debug.c */ extern const char *migrate_reason_names[MR_TYPES]; #ifdef CONFIG_MIGRATION diff --git a/include/linux/migrate_mode.h b/include/linux/migrate_mode.h index 883c99249033..f37cc03f9369 100644 --- a/include/linux/migrate_mode.h +++ b/include/linux/migrate_mode.h @@ -19,4 +19,17 @@ enum migrate_mode { MIGRATE_SYNC_NO_COPY, }; +enum migrate_reason { + MR_COMPACTION, + MR_MEMORY_FAILURE, + MR_MEMORY_HOTPLUG, + MR_SYSCALL, /* also applies to cpusets */ + MR_MEMPOLICY_MBIND, + MR_NUMA_MISPLACED, + MR_CONTIG_RANGE, + MR_LONGTERM_PIN, + MR_DEMOTION, + MR_TYPES +}; + #endif /* MIGRATE_MODE_H_INCLUDED */ diff --git a/mm/debug.c b/mm/debug.c index e73fe0a8ec3d..51152ffc1f29 100644 --- a/mm/debug.c +++ b/mm/debug.c @@ -17,14 +17,19 @@ #include "internal.h" +#include + +/* + * Define EM() and EMe() so that MIGRATE_REASON from trace/events/migrate.h can + * be used to populate migrate_reason_names[]. + */ +#undef EM +#undef EMe +#define EM(a, b) b, +#define EMe(a, b) b + const char *migrate_reason_names[MR_TYPES] = { - "compaction", - "memory_failure", - "memory_hotplug", - "syscall_or_cpuset", - "mempolicy_mbind", - "numa_misplaced", - "cma", + MIGRATE_REASON }; const struct trace_print_flags pageflag_names[] = { -- 2.33.0 thanks, -- John Hubbard NVIDIA --------------6JJJW1UqstnyHETYV7hjMYnp Content-Type: text/x-patch; charset=UTF-8; name="0001-Use-one-definition-of-MIGRATE_REASON-strings-everywh.patch" Content-Disposition: attachment; filename*0="0001-Use-one-definition-of-MIGRATE_REASON-strings-everywh.pa"; filename*1="tch" Content-Transfer-Encoding: base64 RnJvbSA3YjEwNDE5YTFkZTliZTM1MjUzOWIzOGUyY2E3MGNjNWIxNDY4N2Q5IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKb2huIEh1YmJhcmQgPGpodWJiYXJkQG52aWRpYS5jb20+CkRh dGU6IFNhdCwgMTggU2VwIDIwMjEg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