Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp174167pxj; Wed, 16 Jun 2021 23:38:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxz35ypmZolsbe9S3zG0BJcuDOoa2yU51iT51iQbSTK5DgfeetoV+0pSCfhcVYDW59VwUFF X-Received: by 2002:a17:907:207c:: with SMTP id qp28mr3397583ejb.311.1623911918305; Wed, 16 Jun 2021 23:38:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623911918; cv=none; d=google.com; s=arc-20160816; b=dzL2UIgErOKVJ0KFEfHArAyFQ+Zreehy2fiHvFG/Rzp8s/pPwQx3/rL2ny69MkNHte qjWmktiBiIB5W2J1wq0QA4oGdXpuNC4sozkInSnm+e8Q4IHriT2bOKCx0w8ow/ZrKUto tgFW6QzD1Ua96YFsr2qbUilLjIj8M5Ok6kBNuRKeewoaNpY4EsRp4g5+zwgubRDE6QsU 9Mga8hrye/josWJTBOdYZU2m5GMrq7rDp7J1kP++QjgdKZTQ69NdY0hlzWeRa0GZkYC+ 2GPLx48zmbeOdYc/r25EczYY7wMKVJ/LLhKaDJ4pFGFbTdKv9JS9VVt8X4gc6+mnXgFz CbZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=Yz3cJx1+QNEHMnWeWushaYvX/4QcoUZa60X6ggHVxFs=; b=IL2kaaZjM62B1VU+kSJx/IrbYh0d3tvRwCSTNsBZ8qb9QvCTmQ7BhkA0Yyh21OrGhm YAEN/Ns8uY5f7xofu1rO7b24ONvN8+SwwVQ2Vp+jma+6jH7cy3+XEOwdLnR1hiGEGWso KQAAoqijEfdArM96FOO60u+OCgxAltW3pFPkW8daJc9cgv2AqB3O8AMRFHieWL9yFvuN 0kj5sahqrHomyvi/SWsnZZKMwNbF4F5ZgPMyR0DHJ6G8N+sUy8LWr4uDvht2g+TXsnnl JE1CjaB5ryLOi1HusjCFA48j7iOoBV4I/E4CCtkeXxgGCLW8M13W7CjrzNIGbbI/0+SL wgQQ== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ci11si947378ejc.28.2021.06.16.23.38.15; Wed, 16 Jun 2021 23:38:38 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229686AbhFQGjC (ORCPT + 99 others); Thu, 17 Jun 2021 02:39:02 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:53105 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229560AbhFQGjB (ORCPT ); Thu, 17 Jun 2021 02:39:01 -0400 Received: from localhost (mailhub3.si.c-s.fr [192.168.12.233]) by localhost (Postfix) with ESMTP id 4G5C5K3Zd7zBDq3; Thu, 17 Jun 2021 08:36:53 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9GhqvrGtbyo0; Thu, 17 Jun 2021 08:36:53 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4G5C5K2Yf0zBDpw; Thu, 17 Jun 2021 08:36:53 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 349AE8B801; Thu, 17 Jun 2021 08:36:53 +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 dT7JWp3q-t0n; Thu, 17 Jun 2021 08:36:53 +0200 (CEST) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 1E5138B770; Thu, 17 Jun 2021 08:36:52 +0200 (CEST) Subject: Re: [PATCH v3 22/23] powerpc/vdso: Migrate native signals to generic vdso_base To: Dmitry Safonov , linux-kernel@vger.kernel.org Cc: Dmitry Safonov <0x7f454c46@gmail.com>, Alexander Viro , Andrew Morton , Andy Lutomirski , Arnd Bergmann , Borislav Petkov , Catalin Marinas , Guo Ren , "H. Peter Anvin" , Ingo Molnar , Oleg Nesterov , Russell King , Thomas Bogendoerfer , Thomas Gleixner , Vincenzo Frascino , Will Deacon , x86@kernel.org, Benjamin Herrenschmidt , Michael Ellerman , Paul Mackerras References: <20210611180242.711399-1-dima@arista.com> <20210611180242.711399-23-dima@arista.com> From: Christophe Leroy Message-ID: <1678c131-98e3-2d5c-7cf1-0dcb985d67bb@csgroup.eu> Date: Thu, 17 Jun 2021 08:36:49 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210611180242.711399-23-dima@arista.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 11/06/2021 à 20:02, Dmitry Safonov a écrit : > Generic way to track the land vma area. > Stat speaks for itself. > > Cc: Benjamin Herrenschmidt > Cc: Michael Ellerman > Cc: Paul Mackerras > Signed-off-by: Dmitry Safonov Build failure: CC arch/powerpc/kernel/asm-offsets.s In file included from ./include/linux/mmzone.h:21, from ./include/linux/gfp.h:6, from ./include/linux/xarray.h:14, from ./include/linux/radix-tree.h:19, from ./include/linux/fs.h:15, from ./include/linux/compat.h:17, from arch/powerpc/kernel/asm-offsets.c:14: ./include/linux/mm_types.h: In function 'init_vdso_base': ./include/linux/mm_types.h:522:28: error: 'TASK_SIZE_MAX' undeclared (first use in this function); did you mean 'XATTR_SIZE_MAX'? 522 | #define UNMAPPED_VDSO_BASE TASK_SIZE_MAX | ^~~~~~~~~~~~~ ./include/linux/mm_types.h:627:40: note: in expansion of macro 'UNMAPPED_VDSO_BASE' 627 | mm->vdso_base = (void __user *)UNMAPPED_VDSO_BASE; | ^~~~~~~~~~~~~~~~~~ ./include/linux/mm_types.h:522:28: note: each undeclared identifier is reported only once for each function it appears in 522 | #define UNMAPPED_VDSO_BASE TASK_SIZE_MAX | ^~~~~~~~~~~~~ ./include/linux/mm_types.h:627:40: note: in expansion of macro 'UNMAPPED_VDSO_BASE' 627 | mm->vdso_base = (void __user *)UNMAPPED_VDSO_BASE; | ^~~~~~~~~~~~~~~~~~ make[2]: *** [arch/powerpc/kernel/asm-offsets.s] Error 1 make[1]: *** [prepare0] Error 2 make: *** [__sub-make] Error 2