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 X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7BB9FC433ED for ; Thu, 13 May 2021 17:09:54 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 0D60C6141B for ; Thu, 13 May 2021 17:09:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0D60C6141B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=csgroup.eu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 87F6A6B0036; Thu, 13 May 2021 13:09:53 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 808FF6B006E; Thu, 13 May 2021 13:09:53 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 65A7F6B0070; Thu, 13 May 2021 13:09:53 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0073.hostedemail.com [216.40.44.73]) by kanga.kvack.org (Postfix) with ESMTP id 2BB986B0036 for ; Thu, 13 May 2021 13:09:53 -0400 (EDT) Received: from smtpin09.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id C6413BBEB for ; Thu, 13 May 2021 17:09:52 +0000 (UTC) X-FDA: 78136845024.09.1428A4A Received: from pegase2.c-s.fr (pegase2.c-s.fr [93.17.235.10]) by imf30.hostedemail.com (Postfix) with ESMTP id 1CB2EE000112 for ; Thu, 13 May 2021 17:09:51 +0000 (UTC) Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4Fgynp0lCSz9sbh; Thu, 13 May 2021 19:09:50 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase2.c-s.fr ([172.26.127.65]) by localhost (pegase2.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HUEn8l5Cd5ay; Thu, 13 May 2021 19:09:50 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase2.c-s.fr (Postfix) with ESMTP id 4Fgynn6lywz9sbZ; Thu, 13 May 2021 19:09:49 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id CA6438B7F5; Thu, 13 May 2021 19:09:46 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id pzLVMzJYIXGI; Thu, 13 May 2021 19:09:46 +0200 (CEST) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 43A7F8B76C; Thu, 13 May 2021 19:09:46 +0200 (CEST) Subject: Re: mmotm 2021-05-12-21-46 uploaded (arch/x86/mm/pgtable.c) To: Randy Dunlap , akpm@linux-foundation.org, broonie@kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-next@vger.kernel.org, mhocko@suse.cz, mm-commits@vger.kernel.org, sfr@canb.auug.org.au References: <20210513044710.MCXhM_NwC%akpm@linux-foundation.org> <151ddd7f-1d3e-a6f7-daab-e32f785426e1@infradead.org> From: Christophe Leroy Message-ID: <54055e72-34b8-d43d-2ad3-87e8c8fa547b@csgroup.eu> Date: Thu, 13 May 2021 19:09:23 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <151ddd7f-1d3e-a6f7-daab-e32f785426e1@infradead.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Authentication-Results: imf30.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf30.hostedemail.com: domain of christophe.leroy@csgroup.eu designates 93.17.235.10 as permitted sender) smtp.mailfrom=christophe.leroy@csgroup.eu X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 1CB2EE000112 X-Stat-Signature: 66wc6scxsoyawgo1nse4xxsa946sr36r X-HE-Tag: 1620925791-668093 Content-Transfer-Encoding: quoted-printable 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: Le 13/05/2021 =C3=A0 17:54, Randy Dunlap a =C3=A9crit=C2=A0: > On 5/12/21 9:47 PM, akpm@linux-foundation.org wrote: >> The mm-of-the-moment snapshot 2021-05-12-21-46 has been uploaded to >> >> https://www.ozlabs.org/~akpm/mmotm/ >> >> mmotm-readme.txt says >> >> README for mm-of-the-moment: >> >> https://www.ozlabs.org/~akpm/mmotm/ >> >> This is a snapshot of my -mm patch queue. Uploaded at random hopefull= y >> more than once a week. >> >> You will need quilt to apply these patches to the latest Linus release= (5.x >> or 5.x-rcY). The series file is in broken-out.tar.gz and is duplicate= d in >> https://ozlabs.org/~akpm/mmotm/series >=20 >=20 > on i386: >=20 > ../arch/x86/mm/pgtable.c:703:5: error: redefinition of =E2=80=98pud_set= _huge=E2=80=99 > int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot) > ^~~~~~~~~~~~ > In file included from ../include/linux/mm.h:33:0, > from ../arch/x86/mm/pgtable.c:2: > ../include/linux/pgtable.h:1387:19: note: previous definition of =E2=80= =98pud_set_huge=E2=80=99 was here > static inline int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t= prot) > ^~~~~~~~~~~~ > ../arch/x86/mm/pgtable.c:758:5: error: redefinition of =E2=80=98pud_cle= ar_huge=E2=80=99 > int pud_clear_huge(pud_t *pud) > ^~~~~~~~~~~~~~ > In file included from ../include/linux/mm.h:33:0, > from ../arch/x86/mm/pgtable.c:2: > ../include/linux/pgtable.h:1391:19: note: previous definition of =E2=80= =98pud_clear_huge=E2=80=99 was here > static inline int pud_clear_huge(pud_t *pud) > ^~~~~~~~~~~~~~ Hum ... Comes from my patch=20 https://patchwork.ozlabs.org/project/linuxppc-dev/patch/5ac5976419350e8e0= 48d463a64cae449eb3ba4b0.1620795204.git.christophe.leroy@csgroup.eu/ But, that happens only if x86 defines __PAGETABLE_PUD_FOLDED. And if PUD = is folded, then I can't=20 understand my it has pud_set_huge() and pud_clear_huge() functions. Christophe