From mboxrd@z Thu Jan 1 00:00:00 1970 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 762C1C27C4F for ; Fri, 21 Jun 2024 06:21:51 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BC7338D0139; Fri, 21 Jun 2024 02:21:49 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9046E8D00DB; Fri, 21 Jun 2024 02:21:49 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4BFDC8D0139; Fri, 21 Jun 2024 02:21:49 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 217D68D00DB for ; Fri, 21 Jun 2024 02:21:49 -0400 (EDT) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id CC117409B9 for ; Fri, 21 Jun 2024 06:21:48 +0000 (UTC) X-FDA: 82253899896.16.48B5EC9 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by imf22.hostedemail.com (Postfix) with ESMTP id 8127DC0013 for ; Fri, 21 Jun 2024 06:21:44 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=none; spf=pass (imf22.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1718950901; a=rsa-sha256; cv=none; b=yBe5l2lqWl9rL2LdpvzFb9/dOIstm0/PdBlYqmbniMoO2yjti0/LjspIRfejlYANCceo2z +5KLtCTFlnkGZtYEOsk9N1NRGYldIHPg/nnExl8+JtCOlvxBjjLAEB28TR1FKYZhGjRyPJ hjsawct6FSo77976bokSjZfdyK31BEg= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=none; spf=pass (imf22.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1718950901; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QiKd7hWt4H47/ZBbCLJZOV1sdA5uBnAxoPayx0rUDI0=; b=ei0gFU38iLeQc9h7VDttXafmFT+1N/laLOjeKfsei+/FDoCdGtR2T23T1ZHh/kgfWJYlwT O42wMfeR1F9ZmlZgPuuywrso7kp1thJXG0BUT4xRgfVI9onbwggGiFHxNtUH8905vBorfI izTh6mINh2odcxPh9UZjpYbPomiHSS0= Received: from mail.maildlp.com (unknown [172.19.88.194]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4W56b95j4zzxPtp; Fri, 21 Jun 2024 14:17:25 +0800 (CST) Received: from dggpemf100008.china.huawei.com (unknown [7.185.36.138]) by mail.maildlp.com (Postfix) with ESMTPS id E4038140118; Fri, 21 Jun 2024 14:21:39 +0800 (CST) Received: from [10.174.177.243] (10.174.177.243) by dggpemf100008.china.huawei.com (7.185.36.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Fri, 21 Jun 2024 14:21:39 +0800 Message-ID: <6e5844cc-827d-4799-9965-959e631bef40@huawei.com> Date: Fri, 21 Jun 2024 14:21:39 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [linux-next:master 6447/7105] mm/mempolicy.c:2280:15: error: redefinition of 'folio_alloc_mpol_noprof' Content-Language: en-US To: Philip Li CC: kernel test robot , , Linux Memory Management List , Andrew Morton References: <202406202319.pBcCfVar-lkp@intel.com> <0c35a647-caa4-4451-b74e-65c68c83f0ca@huawei.com> From: Kefeng Wang In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.177.243] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpemf100008.china.huawei.com (7.185.36.138) X-Stat-Signature: 9f8df7ffnbqqeh6usmu18eq55dabf97u X-Rspamd-Queue-Id: 8127DC0013 X-Rspam-User: X-Rspamd-Server: rspam10 X-HE-Tag: 1718950904-255869 X-HE-Meta: U2FsdGVkX1+Xl6ON+hGb9OdrP1bZHU+bd+yxfW10rT7j4xscfvcWv3X1yiy63HVtk4OemISxa+XsxS1sSR8cWSpIpk+TWjl/HW+1nqkKOvf3BXr4NtxgfiBNvxfNPLeyQTjKwXWU4PpnNOL2RRmctxBv1gnnQOI51Fu8gtML+FeDBqiFCbEcUMFtV3DKY2jZjbrOQWo6sbc7eU1aWeqwaaDZsWXsA3jwCZGphHMa/so8dC2U6c4UC2shJdnVLY9GLwbOIw+WteApCg4RTqsEnzurkU7/trjjJc6F9bvkWNHi/fPD8+pI+nhoKPOuVaULDnLEnD+UAtEtle8K+bBMomWBW91l2I+yuHbvCZpoiag8Jiw6jhCCqgLuKosSDCLKvCQcXzHTEPYC/Rw3zJIpzTvgF1bSlyt4fWejlS1GvdPvHTWZclmtf/0DW8IPjH9SXZQCo+3JtGN3kvXHcC+aK0lTA/Y/gR85Hfca5ExSMghYdnblXrAAp1GSQbcEe66zLL5HQSt0/V8RlKlD8h+3iupm3rGLzyUKvmHh8Ew/BP3VubXo3sk4J6YJYYi/iZQ3uOFGUbDtmP3ouKFbao66bD0l1e2Q6QKNxnTu9JTEP+4PWIyzBIeaa9T56fFYVQA0PUqrpJ/HG+vFKXoeevB61N46Mn4TgmJPTgOuqhQL0LJB8CZJtlt7AUFxts9F/TVPJZrYq8DNYKVEaE1wB4jskSEQF4ecJzrMP6ephYVRphY/8gFnrO+oYUjtk6RBi/CBBn4UU5albWSpoPIiLShG783EV/CNtojn/qZUYm/TJ+Y6YIWUPcfW8+NvfNq7DTvBqRPJ27e9cuwM5UrNDCmKcgfdX9aJm1oxPhcfH5D3u6z1u19DLo8zvQo6rJ6XhRmCGfryTkcLkZn48NTJurzsjRGUlr7dMBphFFfk6DN3XJKWW9a2wHrhX2xooWYEa9mv1V1GnPhKVMwWr/CsA5U EhkNvhnX SILh5GF4ou4+zVq1EcxQo21IpTPaDFXjSwOrzRGo+PYmv24KVnLJmQDFXAb4D6xSL7cN/H5MiIhqAQRGd4JYKJzbH1VkabgVXLGu0tCPonowGr4cjydvwRe94hkCDUJifWhusg6tAJEblfLAyNezrKTUkesd7VpgKQiibb2N9ouMi2liIKTWtAGCniuvF1JYy62Z2SlXKZJmjk8l7CS/tzB2ejEiw65526FfYMcnq7pjDEYLSTFRY6czviHbNycUpkc6FCjpDr+enHEF61a7o5huERbcLjrUJA+EFhjVFiXyBWPPRqoTBLYg0dpOAc6aXxaRNzmScY5rADgqvW42IFAxAEOY6pVWb7CDfHoy8bva/paE= 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: List-Subscribe: List-Unsubscribe: On 2024/6/21 12:56, Philip Li wrote: > On Fri, Jun 21, 2024 at 11:17:05AM +0800, Kefeng Wang wrote: >> >> >> On 2024/6/20 23:55, kernel test robot wrote: >>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master >>> head: 2102cb0d050d34d50b9642a3a50861787527e922 >>> commit: f85385e70cb4bbb569298830fdf0a3d8325de36d [6447/7105] mm: add folio_alloc_mpol() >>> config: x86_64-randconfig-014-20240202 (https://download.01.org/0day-ci/archive/20240620/202406202319.pBcCfVar-lkp@intel.com/config) >>> compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 >>> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240620/202406202319.pBcCfVar-lkp@intel.com/reproduce) >> >> Hi, thanks for report, I try with gcc-13 from 0day[1], but can't >> reproduce with above config. >> >> [1] https://download.01.org/0day-ci/cross-package/gcc-13.2.0-nolibc >> ... >> The above error is strange, my change shouldn't affect them. > > Hi Kefeng, sorry for confusion, usually you only need take care of the issue > that is prefixed with >>, which is the new issue being introduced by the commit. > Other issues exist due to existing commits. > >> >>> | ^~~~ >>> mm/mempolicy.c: At top level: >>> mm/mempolicy.c:2221:14: error: redefinition of 'alloc_pages_mpol_noprof' >>> 2221 | struct page *alloc_pages_mpol_noprof(gfp_t gfp, unsigned int order, > > [...] > >>> | ^~~~~~~~~~~~~~~~~~~~~~~ >>> | __count_vm_event >>> mm/mempolicy.c:2272:61: error: 'NUMA_INTERLEAVE_HIT' undeclared (first use in this function) >>> 2272 | __count_numa_event(page_zone(page), NUMA_INTERLEAVE_HIT); >>> | ^~~~~~~~~~~~~~~~~~~ >>> mm/mempolicy.c: At top level: >>>>> mm/mempolicy.c:2280:15: error: redefinition of 'folio_alloc_mpol_noprof' >>> 2280 | struct folio *folio_alloc_mpol_noprof(gfp_t gfp, unsigned int order, > > For this report, you can check whether this issue can be reproduced or not. mm/mempolicy.c:2280:15: error: redefinition of folio_alloc_mpol_noprof' obj-$(CONFIG_NUMA) += mempolicy.o include/linux/gfp.h:324:29: note: previous definition of 'folio_alloc_mpol_noprof' but this one is under !CONFIG_NUMA, and from above config, CONFIG_NUMA is enabled, so this should be impossible.