Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1183326imu; Tue, 11 Dec 2018 14:18:44 -0800 (PST) X-Google-Smtp-Source: AFSGD/V44cemsheJIpK/Cbf2wVSYcT2sOm3TR6SEKsp11mB/X0dIveephNnG0VsU4mg6hdYigJJp X-Received: by 2002:a63:e950:: with SMTP id q16mr16146877pgj.138.1544566724552; Tue, 11 Dec 2018 14:18:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544566724; cv=none; d=google.com; s=arc-20160816; b=B0odD8XY89PxexOHcBnMVgTtSZXrJodD4i75ZG5qZ9mJKopN9kZp+ZK1K0NsM9egT5 nmZpV4r4mzH0/exeMy8zxJFT5AmcI2sHVEPC0unLazAPZbWehfRPB9w6+559zRs0nRS2 tmxPfe4l03VAikhgxRG+K+GelcJ2C5Gf6zt77yEwxblbIHS0PlwpBkX4FeTbYTybHUeL YnhOfh/m3h0czfkha53cCUO1yiBnzSlXzRdAk5e4P+b9B0XLXnNK3l0YQKiyPnl9f3wJ rvKx/Nig2MkGSzh4mwd4o/Kwk1tnQJ6jatrTxWTuXdcBcbEmno2vrCU+sj3+7K4egEJo SJow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :content-language:references:message-id:in-reply-to:subject:cc:to :from:date; bh=ojvMwv//DvxRAeDD6IV7+WPQ0+WnsTASEXn6pZEq8PE=; b=UOsjbYZUnepipP4SQuoxoNBJ/sAVTatmzJUHOeKBc5QoiLbJn/0ymIHW2ApffuECOL etyNH3usz/qF5IUdHFsyvLuR96NP55siNSOrS2d5xh1YTmpIgOu4FJp8mt9gIBQ1vLYg gJmmUSfFeZ7FU9V0mUrGKo1w8D3MeylO0PEWr87odnzwxGCmcVY0eE9hLS0flgsNzW4i JP9NbldrsYZYYd566GJU4/KR3vm/TsrBayQo2xA+XB5kHCuRafSB0A1kbRln1R8W6Zmf hVc7aTQEqBz7TPKHnYDMmp8K7rxVBG4AqoHI6XJj1xNfRwts7Voh9T+HGjp0KSVUjgWq zpyQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c191si14237545pfg.72.2018.12.11.14.18.30; Tue, 11 Dec 2018 14:18:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726607AbeLKWPx convert rfc822-to-8bit (ORCPT + 99 others); Tue, 11 Dec 2018 17:15:53 -0500 Received: from static-87-79-237-121.netcologne.de ([87.79.237.121]:45957 "EHLO herc.mirbsd.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726252AbeLKWOL (ORCPT ); Tue, 11 Dec 2018 17:14:11 -0500 X-Greylist: delayed 627 seconds by postgrey-1.27 at vger.kernel.org; Tue, 11 Dec 2018 17:14:06 EST Received: from herc.mirbsd.org (tg@herc.mirbsd.org [192.168.0.82]) by herc.mirbsd.org (8.14.9/8.14.5) with ESMTP id wBBLxm1T009080 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Dec 2018 22:00:06 GMT Date: Tue, 11 Dec 2018 21:59:48 +0000 (UTC) From: Thorsten Glaser X-X-Sender: tg@herc.mirbsd.org To: John Paul Adrian Glaubitz cc: Andy Lutomirski , X86 ML , LKML , Linux API , "H. Peter Anvin" , Peter Zijlstra , Borislav Petkov , Florian Weimer , Mike Frysinger , "H. J. Lu" , Rich Felker , x32@buildd.debian.org, Arnd Bergmann , Will Deacon , Catalin Marinas , Linus Torvalds Subject: Re: Can we drop upstream Linux x32 support? In-Reply-To: <70bb54b2-8ed3-b5ee-c02d-6ef66c4f27eb@physik.fu-berlin.de> Message-ID: References: <70bb54b2-8ed3-b5ee-c02d-6ef66c4f27eb@physik.fu-berlin.de> Content-Language: de-DE-1901, en-GB X-Message-Flag: Your mailer is broken. Get an update at http://www.washington.edu/pine/getpine/pcpine.html for free. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org John Paul Adrian Glaubitz dixit: >I can't say anything about the syscall interface. However, what I do know >is that the weird combination of a 32-bit userland with a 64-bit kernel >interface is sometimes causing issues. For example, application code usually Yes, but more and more ${foo}64ilp32 architectures are popping up. >Additionally, x32 support in many applications is either rudimentary If a signal is sent that this kind of architectures will stay, some people might be convinced to fix that. >It's also that the performance benefits of x32 are often eaten up by >the fact that none of the scripted languages that I know of provide Non-JITted languages like yours truly’s shell do benefit from it, though. (mksh works just fine on LP64 but its internal structures pack massively better on ILP32, for example.) >If x32 is eventually to be removed, we should also take care of removing >x32 support from userland code. From the top of my head, this would at least I don’t think so. The patches also contain – stuff to support 64-bit time_t on 32-bit architectures, e.g: - bugfixes like printf("%lld", (long long)timet_value) instead of assuming time_t fits into a long (also important for other operating systems…) - generally switching from generic types like long to specific types like size_t, ptrdiff_t, etc. - there was one more but after having written two eMails I forgot it - oh and, of course, they lay the base for e.g. amd64ilp32 support bye, //mirabilos -- FWIW, I'm quite impressed with mksh interactively. I thought it was much *much* more bare bones. But it turns out it beats the living hell out of ksh93 in that respect. I'd even consider it for my daily use if I hadn't wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh