Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2731490rwd; Fri, 26 May 2023 10:20:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4qn9xEtE8u1fDJUyfhAcbDpikmuAHIGFKgyQ9jFaBxRzEZeWkwiski+sv8vtjD4D+fewfW X-Received: by 2002:a05:6a00:995:b0:643:90ee:587 with SMTP id u21-20020a056a00099500b0064390ee0587mr5147709pfg.18.1685121623641; Fri, 26 May 2023 10:20:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685121623; cv=none; d=google.com; s=arc-20160816; b=Hz15iC3imrtX90HyrOi+JpuUxiWBjlvqxedwpR8PiE0Ja9I2gWzv02GCJ83AZwl0E1 JbwWU4qc+xG8whxlPUnLgfyd1KxT722rwImu5sQ8gex1T7XkCktSeia1hZaURdDipsaf Pd1E3SnqAnajJppKvkW99LQ0pzrBOW+CJ81BBJ8jDUD4pMeDlcc2RE8rRcXyT3G/g0QH gmEPqH5/vTQ2IumKLvNu+S9bf2uX3N+RqyLvh+wxyflDv4ohbK6VYmy5UIUADIDHX+ea hZD/I8ZPb3WYdVFjRj4O7pIv6EM4EBIYic35ju1dMQdtDrto7U4kMjccNs7OoEVwyW/w 8hFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=HOgQ0laylSsSXUxakhP+bdUPB6O0yALSW2XM6n3Lc/w=; b=rm4R7efnETwlCTgBBBs1vj9P7cpeNLvaIEQ/c70b7xATQVMmLBs7RIsKLKRVsOiTw+ jTj+bjZw9pKZwIUF9vfAlrO95Jm4Q5sdskn8ElcRLV6pFUafFKbMkDfZeCSw6rKaZSAT 40w0ZBbnogWQ50pj2CcoNL/ux+K4ncJLC3d/REdK+NvTzDnvdqJ/QxvClQsZc6E4rISm VilDpi1t7v9dYVaTiH8R6RDXEosOTErLNBIJEjITA+IpIqiIH3tLnqrL+kD+/Ag0+6cH reCKWlzBEUoSDGajwn6PJQZytlD+2nh1VJObQtbuvNy7RCBw/ZQRIWpljxEKD7EOlK0i pMug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="hliNns/c"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l194-20020a633ecb000000b005347ed33096si4369229pga.258.2023.05.26.10.20.11; Fri, 26 May 2023 10:20:23 -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=@linux-foundation.org header.s=google header.b="hliNns/c"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237120AbjEZRAp (ORCPT + 99 others); Fri, 26 May 2023 13:00:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229704AbjEZRAo (ORCPT ); Fri, 26 May 2023 13:00:44 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FB7ABC for ; Fri, 26 May 2023 10:00:42 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-5147a478c38so1104922a12.0 for ; Fri, 26 May 2023 10:00:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1685120441; x=1687712441; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=HOgQ0laylSsSXUxakhP+bdUPB6O0yALSW2XM6n3Lc/w=; b=hliNns/chJslYVsVGRU+ritAEJisLgPdTxqVtavxwK8qQ2f0id+NYmHbVOalnhRN9X 6RLID1TER8bJA8RJsoegGq3v8W5Uck5q3lDYkVgJ4XsG6tru4e7g+BKvd58o/nz/QR5g sL/n0rAKWopq/dG1onDOdKTLqCwetL6Czhh7c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685120441; x=1687712441; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HOgQ0laylSsSXUxakhP+bdUPB6O0yALSW2XM6n3Lc/w=; b=GpDU1W9cbxAKMEh3XulQHkEIjNMA6H8JWZJooo9CsIe3/fR/CUBt+zXOeEytYN9kOS VeLVwek+iPre4RJ2AYba61BsNWjZj4JCmTsZJdFwQ/R23EfFkI+rTHTZiIBc65fIL3UW a1GlZzlDGPaJJx0IuLAOCMIfHbohCnd6rFV9qkRX1TzDVIrbtZS9imB2ZWeqGj6FHpEK slqSlYmfySohp5MkGFn/6YqpRJb2U2TudR+LXrC6W1Ds/H/ryYHpZRdJmCaB0I3IPbzw DMQS673nqwM9+Bm1nZZ5xAI0orQHb4VV30ON3f1m9JoxXABwm36FEELdHexBksu+yeIN 1NEg== X-Gm-Message-State: AC+VfDx+0fjfLlRcQbgiSiuaKRFhAuGXIYeSkoDwgqwq2BLoy6La7Ig5 LUdndLsQ4HYqD9ZPQMPniCl85Yeh/6Weq6WmiJhihMIv X-Received: by 2002:a17:907:3f8d:b0:966:61b3:f630 with SMTP id hr13-20020a1709073f8d00b0096661b3f630mr3191578ejc.9.1685120440661; Fri, 26 May 2023 10:00:40 -0700 (PDT) Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com. [209.85.208.48]) by smtp.gmail.com with ESMTPSA id c7-20020a170906154700b00965ec1faf27sm2358483ejd.74.2023.05.26.10.00.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 May 2023 10:00:39 -0700 (PDT) Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-5147e40bbbbso994870a12.3 for ; Fri, 26 May 2023 10:00:39 -0700 (PDT) X-Received: by 2002:a17:907:94c9:b0:968:db2f:383 with SMTP id dn9-20020a17090794c900b00968db2f0383mr2744712ejc.53.1685120439249; Fri, 26 May 2023 10:00:39 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Fri, 26 May 2023 10:00:22 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: x86 copy performance regression To: Eric Dumazet Cc: LKML , netdev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no 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 Fri, May 26, 2023 at 9:56=E2=80=AFAM Linus Torvalds wrote: > > Ahh, I tested it in an allmodconfig build, but only building that one > file, and not trying to link it. And gas was apparent;y perfectly > happy just leaving that undefined feature as a relocation. Oh, never mind. Even with that fixed, objtool is very unhappy about my hack, because it knows about short jumps, and despite me encoding it as a sequence of bytes, objtool will just decode it anyway and say "that's not right". Grr, I tried so hard to get the exact asm I wanted, but our sanity-checking catches my cleverness and stops me in my tracks. Let me go look at it some more. I *really* didn't want to make the code worse for ERSM. Linus