Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp2932447rwl; Sat, 5 Nov 2022 14:19:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5CiVRqmXumsrq0s8Hq3MgyhyCksdxthf0HWaSawHbKaRzgPQpnBJUO21ySbjb1ozGx7zL3 X-Received: by 2002:a05:6a00:224c:b0:56c:40ff:7709 with SMTP id i12-20020a056a00224c00b0056c40ff7709mr42142689pfu.59.1667683162097; Sat, 05 Nov 2022 14:19:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667683162; cv=none; d=google.com; s=arc-20160816; b=DbeAgcXTeKRawvDytia/RhMcWbsSgrr3TQ2DGExKhPZoGK6v4AG82I8/TXbsesUibN EEVtSU6acGrYOTApNSMxR9XFX2jNmbwy27oSrtbWpoBtMKm3GlDpngOoUjcBc3cG0h7C w5bzs7zU1fGW59nr9ST6CE/OJozgPbbZaCAh2UzkDOKJSTkMfNDHidb1lNkjlOeC9FN3 QIDRG3UgpbNNJhenTCh/GtjvlGP1TlLesPMBfFryU2ipejXvRlYhZr32zChp1e5S8JPw ls7B+XFEtH9h23FZMqWWl+CAxl7L/EcdSEopF60KOGCeFqMJBsaDEKNpd+k8tSMDrx90 Zh4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=i7VzbHs3BM65bfeje5J/vcPyhiPEz9B6um2ZY1Qg0CY=; b=sasAn2tuYHpZVUL2LDtiT9UWTwJgk/wS0mPGA+9P7QpP5Vli2x9xongc0DlWTrmy7B z4YjbwUKsAgtRh07HkBYMhD7mGDgN3A+0ySx7TubatPQwvumgL4BU0cI9C3P4wDJ48nX OyoH04nzpVHrfkvTfdozzi58C2Pnm5eQcokzEgrLG61lH8dTZe8wewXVPp+Q4G7/Fq4K Z+7dntqLt0iHLMaXu5oxbK26U+Qu5wLPKm8nf+RO+r4EFFQObR2/ejmsuZRfGp5zhX9H V1Pmo3d0yUH2vBMiD5a804hSbVeGvG4MU8PJw56rP9aGcISRyjdUdJGoTeHbJo8eb0Bx MsDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=ngpdoQqf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h62-20020a625341000000b00536fa6bbb11si3558202pfb.344.2022.11.05.14.19.09; Sat, 05 Nov 2022 14:19:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=ngpdoQqf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229925AbiKEUzL (ORCPT + 97 others); Sat, 5 Nov 2022 16:55:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229839AbiKEUzI (ORCPT ); Sat, 5 Nov 2022 16:55:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0ECF8E097 for ; Sat, 5 Nov 2022 13:55:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1088C60B92 for ; Sat, 5 Nov 2022 20:54:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44D08C433D6; Sat, 5 Nov 2022 20:54:06 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="ngpdoQqf" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1667681644; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=i7VzbHs3BM65bfeje5J/vcPyhiPEz9B6um2ZY1Qg0CY=; b=ngpdoQqfSX6MNYGUji9kC1NBLZQAZtE8ptWolbRaV2PE7nBQD9BLrEoNhbt6FrYjGI33p8 Qg+qOVCAhyRFXzML7v0FR2sd6aR/CObgEkqTm9L5ykJgab/bCdDTM4VOv/v/xTcVLA/KTW q9UfOCmJuV5DNoiHgGR3xdkte6DAnqY= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id eb30089a (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 5 Nov 2022 20:54:04 +0000 (UTC) Date: Sat, 5 Nov 2022 21:54:01 +0100 From: "Jason A. Donenfeld" To: Peter Zijlstra Cc: Linus Torvalds , Nathan Chancellor , Uros Bizjak , x86@kernel.org, willy@infradead.org, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, aarcange@redhat.com, kirill.shutemov@linux.intel.com, jroedel@suse.de Subject: Re: [PATCH 11/13] x86_64: Remove pointless set_64bit() usage Message-ID: References: <20221022111403.531902164@infradead.org> <20221022114425.168036718@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 05, 2022 at 04:14:19PM +0100, Peter Zijlstra wrote: > Also: > > $ ./align > 16, 16 > > --- > > #include > > int main(int argx, char **argv) > { > __int128 a; > > printf("%d, %d\n", sizeof(a), __alignof(a)); > return 0; > } zx2c4@thinkpad /tmp $ x86_64-linux-musl-gcc -O2 a.c -static && qemu-x86_64 ./a.out 16, 16 zx2c4@thinkpad /tmp $ aarch64-linux-musl-gcc -O2 a.c -static && qemu-aarch64 ./a.out 16, 16 zx2c4@thinkpad /tmp $ powerpc64le-linux-musl-gcc -O2 a.c -static && qemu-ppc64le ./a.out 16, 16 zx2c4@thinkpad /tmp $ s390x-linux-musl-gcc -O2 a.c -static && qemu-s390x ./a.out 16, 8 zx2c4@thinkpad /tmp $ riscv64-linux-musl-gcc -O2 a.c -static && qemu-riscv64 ./a.out 16, 16 Er, yea, you're right. Looks like of these, it's just s390x, so whatever. Jason