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 57BF2E77188 for ; Sun, 12 Jan 2025 14:40:21 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BEB586B0092; Sun, 12 Jan 2025 09:40:20 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B9B7A6B0098; Sun, 12 Jan 2025 09:40:20 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A89E66B0099; Sun, 12 Jan 2025 09:40:20 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 82B0F6B0092 for ; Sun, 12 Jan 2025 09:40:20 -0500 (EST) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id E47771A09C7 for ; Sun, 12 Jan 2025 14:40:19 +0000 (UTC) X-FDA: 82999060158.25.608617C Received: from angie.orcam.me.uk (angie.orcam.me.uk [78.133.224.34]) by imf23.hostedemail.com (Postfix) with ESMTP id C3EBF140011 for ; Sun, 12 Jan 2025 14:40:17 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=none; spf=none (imf23.hostedemail.com: domain of macro@orcam.me.uk has no SPF policy when checking 78.133.224.34) smtp.mailfrom=macro@orcam.me.uk; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1736692818; 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: in-reply-to:in-reply-to:references:references; bh=Z7V5lfZPBTXuLL4MYS5rxyhPzfsNQUbW61GhKJ4ZJnY=; b=j5n4V9jB61nNOW6MZUob3lyqg44fGSXkZS6KkAU+s8Sw6iKj9ubLok4MqiLILlKu7dAhem G+eWEsnLauUFToZCCSZkfXKxygkA5VL5vhihahlkq8EfilsZe2HaUFEcWiSZiW7q1geThl tJtbvgD4rlKCx2gPTnQbt/C9m3BInnI= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1736692818; a=rsa-sha256; cv=none; b=DfDM/XBCIN3IJ9yebmvPrUd3dMKAcsEbBZkelawaa1OFM46XjylbFkE3xDahmwwtrR6C2i 2aFqg2jTRJIiuqdMYL1f6LjVmP694FwVj3Z9tuh8TqkXO+4odQKAKIrpQCYwufg5hiQOiX Y0WQTgIMJ0dcWsmcKj5pDObxZbojkyU= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=none; spf=none (imf23.hostedemail.com: domain of macro@orcam.me.uk has no SPF policy when checking 78.133.224.34) smtp.mailfrom=macro@orcam.me.uk; dmarc=none Received: by angie.orcam.me.uk (Postfix, from userid 500) id F012C92009C; Sun, 12 Jan 2025 15:40:14 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id ED45092009B; Sun, 12 Jan 2025 14:40:14 +0000 (GMT) Date: Sun, 12 Jan 2025 14:40:14 +0000 (GMT) From: "Maciej W. Rozycki" To: Arnd Bergmann cc: "Eric W. Biederman" , John Paul Adrian Glaubitz , Richard Henderson , Matt Turner , Kees Cook , "Paul E. McKenney" , linux-alpha@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Michael Cree , Sam James , Geert Uytterhoeven , Michael Karcher , Chris Hofstaedtler , util-linux@vger.kernel.org, linux-mips@vger.kernel.org, loongarch@lists.linux.dev Subject: Re: [PATCH] alpha: Fix personality flag propagation across an exec In-Reply-To: Message-ID: References: <20250103140148.370368-1-glaubitz@physik.fu-berlin.de> <24f03227-1b55-4e50-b6e9-7ac74fda2602@app.fastmail.com> <678ee681-12c3-4e79-a04b-495daf343846@app.fastmail.com> <82d33a2d-dffe-4268-a175-4536b3f9c07f@app.fastmail.com> <87ed1cufj1.fsf@email.froward.int.ebiederm.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: C3EBF140011 X-Stat-Signature: got89tp4o8my4cea34os3s19i7ynyt9z X-Rspam-User: X-HE-Tag: 1736692817-932963 X-HE-Meta: U2FsdGVkX19x8y0m1CySGH5vLsJwm9DJH/kNwZ6se56DuaMhcj41tEsI71XRFQ7Sqz66fNs2p7r+wl4hoM0RvDIDie8faTZ5N15d9Z8IEwGfVfUSDuil4FQZtNCYGRtlINkyf2ZOuCkAlPNwWuCMbKTDxUGiWeM6w6IVIGcUMgkN4oolfJPnSdQVc5Vb48cqZTLfFVntgpVivYFmsTVvGuqHKVCTHcU+3LLX8/MIQ6gSIXNsqxf8EOEt5JpwEdJUtnU1tTmBlcZ8Cvr2VcpSElbBJu5pU4EFEcrEuwYVmS02nFKPLsaT9t1VrBxBa4tZU7d/MW5KrPk363cMwL61bvQriZk4sYhYA2VzB2iLQzc1dzdfeQfe1QB5CRzNxmmnBrtd9xdLiRwabPpVxT+S0xvCvTZRFmytuIyYbpgK+a8qQjzje+gom3dfzEIfcJ8J9nKWBsxPXHxc520NJ9vi1ev3f3OJ3j8sgMXy0VUb9Z7MjFFxGXDiqyrvs1MDCPpXCoyC7x1PQgcEaBg0NU/VJFXgQRq8nWoVvVyv+uLUn964QvNkq5V0uZh1LHS9sSXkoyYsAsKqGAsI1Nmztvf49FQJ9b8rdXJKYXUErDe07Ub/u2fqeybsD16K8s6U/tYUMhiokUI+mgBPgHRHtrPAJC53+mnGfEl4fyWp3oHKdlGX1ZB42Hl05Nvi806O6rc0C8To3LOnHwUEEfLT6g2TbI0z8dqQ4JXdfEuwulXTtFd8Ey0V9j0hPvf8Yx/ma/yeZy3FPJRdzpOmIv9qibQc65xeVYUBtS2AP15GMzo/ah15eZPOx/+K84vuWqg9KJTYfh97WWN88KFqFyCMy95uV9VIIRwYiGRfPw9b49vfoTV/Hxu2W04V/T71E4MUiyqWXEm94wUuOpYosrsJ7UCp85pbcNf7oNyo6TV1gm5QqSsV5UtsnLd6L7noL4nMuEnY9yR+YA+pqHYxJJVzv2+ y7fr8Tg0 UTcNYOPbppCv+GlMHkdLKfwxJAVDekpssdbQdOEOWWqew3gK/I9WGEfi9CFIk96tnNX1h 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 Thu, 9 Jan 2025, Arnd Bergmann wrote: > > This is similar to the MIPS n32 ABI, which also implies a 32-bit address > > space while still using 64-bit registers for everything, starting from > > stack slots (it's also ILP32 with the `long long' C data type only making > > proper use of the full width of the CPU registers, while Alpha's --taso > > ABI is I believe IP32 (?) with the plain `long' C data type still 64-bit, > > just as with the regular LP64 ABI). > > I'm pretty sure it's still LP64 on Alpha Linux with gcc. There is an > -mpointer-size=32 option in gcc for VMS, but I don't see anything like > that in Linux. The only thing that is implemented here is the option > for the linker that sets the EF_ALPHA_32BIT bit, but none of the > code generation takes advantage of the upper bits being zero. Pretty useless then nowadays (I knew about the option back in 1990s, though since forgot, and then never bothered to get into its details and considered cleaning up code instead a better use of resources). Thanks for the explanation, and good riddance! Maciej