Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1315515rwi; Thu, 20 Oct 2022 11:00:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM48B5PH7kHXMk+baIUYokkyYl+lQ00pe8epvnvolK4pqf5Ozs8UUBu2XpxEedRb/2j4zFYL X-Received: by 2002:a17:906:da85:b0:741:40a7:d08d with SMTP id xh5-20020a170906da8500b0074140a7d08dmr12701639ejb.263.1666288814250; Thu, 20 Oct 2022 11:00:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666288814; cv=none; d=google.com; s=arc-20160816; b=iTpCU54EA/4rdzOF/Fgq0sfHOcPj/Ds7xvfTO5rzx9YsmkBmQpJsuV1SZi65hnQjH5 T0v1ilWMvyFMPqdU90AxxxZzf5HEe6DpwZnqyA+sbX0p9DBf8X2FZHA9gdph0U2MZG2i OWLnpfK2llbEtTBblTRqHAwtAGYRlDXcbckySPAWb1/RJB3P4Of6YC3H+QRrodcjSmli fiovGC7ZVYqf8KHfihLCJSwGPrn72onwLRqNQPFJmsaQ2/t6nVQCPiGPTPCmmVXPWCD1 zkhdR+O2fPzGESBMsUagVo1T0otAp10+y3UqF5aUlq6JN3H0y7Z0WuSdbfAdGaajpV3T SDTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=MhbDUQYtMRdQrM9m9jLwLVDz+Gb6Bbj2nyRKt6zUEQc=; b=sjSLo35w5YNTMtaVwmed46pBK4zUtQ6roj9wQXZcE6SJAD6JRdfchptJdCQAIWxkvq H+bP+hL+OMbu9g1ABvY2Ijx28+YQlyarvFv/FkhS2IpnnwQ206nt29PIMet1G2dNMOLo JrUtlkH47qPDQcwgfN/xAHY/YLwu+iYtvY9Drl94amON0eDp+vVqjJqsyQu5/6o6O1aD m4CAMe8CY35Rg7PBZDE49mPSvlk81S293WgEzkcZSgXIO/Xg6FKyskIOQT61sAUm/RqU PRsPEyvpplZHei9KbL0i9p7EbmsBnWWGr4IPjYwqVVeRHOSiDF+5Vx7WDhWYJLDsunFE 64QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=Dzynx+96; 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 h11-20020a05640250cb00b00452dfa2bb27si11209438edb.134.2022.10.20.10.59.18; Thu, 20 Oct 2022 11:00:14 -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=Dzynx+96; 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 S229789AbiJTReG (ORCPT + 99 others); Thu, 20 Oct 2022 13:34:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229887AbiJTRd6 (ORCPT ); Thu, 20 Oct 2022 13:33:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCB1C1E3EF2; Thu, 20 Oct 2022 10:33:56 -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 6EB1261CCD; Thu, 20 Oct 2022 17:33:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2001C4347C; Thu, 20 Oct 2022 17:33:55 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="Dzynx+96" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1666287232; 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=MhbDUQYtMRdQrM9m9jLwLVDz+Gb6Bbj2nyRKt6zUEQc=; b=Dzynx+96fZREa0hAeZjjUXdgKZMQmCXwQ9tM4rOerUDP4vWNiR8vfkQJ/pSiJzFvxa9W7E arerSeUhOSDZ+AOuDOnv8088NEDIwN+FXc/5i5QHTIE7vzWg78xLaXzb9IOWtOxVGUe0vA zb6hON1j6wAraRWXIrMqvfN8BFXB2ps= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id ecf041e5 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 20 Oct 2022 17:33:52 +0000 (UTC) Received: by mail-ua1-f50.google.com with SMTP id h25so10222491uao.13; Thu, 20 Oct 2022 10:33:52 -0700 (PDT) X-Gm-Message-State: ACrzQf22axImLLj8FiZyM1EBrnzQLWdGkjYtA62Adnsl+mPA0mdPgHfG ou3saEQRXtA24FgF/BSenQqcolUaoPec1pPdm0M= X-Received: by 2002:a67:ec47:0:b0:3a9:682c:bc5c with SMTP id z7-20020a67ec47000000b003a9682cbc5cmr7756711vso.70.1666287230932; Thu, 20 Oct 2022 10:33:50 -0700 (PDT) MIME-Version: 1.0 References: <20221020000356.177CDC433C1@smtp.kernel.org> In-Reply-To: From: "Jason A. Donenfeld" Date: Thu, 20 Oct 2022 11:33:39 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH -mm] -funsigned-char, x86: make struct p4_event_bind::cntr signed array To: Linus Torvalds Cc: Alexey Dobriyan , akpm@linux-foundation.org, linux-kernel@vger.kernel.org, mm-commits@vger.kernel.org, masahiroy@kernel.org, keescook@chromium.org, gregkh@linuxfoundation.org, andriy.shevchenko@linux.intel.com, Stephen Rothwell Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-6.7 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,URIBL_BLOCKED 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 Hi Linus, On Thu, Oct 20, 2022 at 11:15 AM Linus Torvalds wrote: > Can we please try to collect these all in one place? > > I see that Andrew picked up the original one for -mm, but I think it > would be better if we had one specific place for all of this (one > branch) to collect it all. Sure. Andrew can drop it from -mm, and I'll collect everything in: https://git.kernel.org/pub/scm/linux/kernel/git/zx2c4/linux.git/log/?h=unsigned-char&r And I'll ask Stephen to add that branch to -next. > I'm actually trying to do a "make allyesconfig" build on x86-64 with > both signed and unsigned char, and trying to see if I can script > something sane to show differences. > > Doing the build is easy, but the differences end up being huge just > due to silly constants (ie the whole "one small difference ends up > changing layout, which then causes hundreds of megs of diff just due > to hex constants in the disassembly changing". If you can get a copy of IDA Pro, diaphora is quite nice: https://github.com/joxeankoret/diaphora Or sometimes with objdump, I've had more success by keeping debug symbols, and then trimming offsets from jmps. Jason