Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5517rwd; Fri, 26 May 2023 14:02:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4g2AXp4CY6O2EQac1uXKE73AT4TtlfRURM6s3wylDgE1sodlgqaI/gsG6vKGAbmOK/VjPh X-Received: by 2002:a17:90b:1a85:b0:256:3902:5e0b with SMTP id ng5-20020a17090b1a8500b0025639025e0bmr2240971pjb.29.1685134978240; Fri, 26 May 2023 14:02:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685134978; cv=none; d=google.com; s=arc-20160816; b=l4u806cMASaTTkwc4scbabO7Off4ybOKcnPngIMVAM7Aes2Iz/RQFZARKIwkPzu+KC xG7whLIN8RZN9zOmfWaSkDrGThoxO8dSqoa/nZzJI7LhC+9fuMddbkJQZls55bFAF7Jc 32li3C8CY2sxalWfQfJmV865Qm8zEVNoO0QsfwavMCYbX6BJi5B174YP/847FysU+x6I MDWRHb/EcTY4q02VG2Fw/X1GgNl83+DxGJht2iw8MYrsDaES7b9RCcfv3nuS21xheE0z v/6TuLsjNrgx4NomGPf7pbLQm/DWCg4j+S2lonw2kKd2RE15oU+ajVmUFyvc8SWk8a12 3oYw== 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=eKtb5pF799Vf0zYkpYw5rmcT4zTxO2bOf/EKOzgAhcY=; b=Bs93KgMeNAhYZg6AZ9SyTFV/231HM9YIDin1AtjwsAa87JKk8ViWSkKlFvY15RkasW KeShrP23fJE474BOB4QCQJrKI30RkSTWUyE8O1GhJDcW5eFYYkLDKJ4ruejjhiM6P2wL EeqnSlMU3TV0EBLuU5kAT4TX6n/tCiKW9+TekbR5fz/hOiwVoH5W+0IlI7LFjt1l1Z+N 2pjqItz8ZFTG1klENlfX6doTdM8hynhCfbnMcQBec4VC5u7ybJ/1i+lTWqdGBHl2Phrc wxZ6JqCl6AdqGnz1Y7vxX7EllkxtXSi9Zajz8++uF1ShxNhqCAh4kcIIw3xU7ixwvKz+ +mhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=BOjN3c0m; 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 bv125-20020a632e83000000b0052ca7192669si3016156pgb.657.2023.05.26.14.02.42; Fri, 26 May 2023 14:02:58 -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=BOjN3c0m; 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 S230376AbjEZUhh (ORCPT + 99 others); Fri, 26 May 2023 16:37:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229628AbjEZUhg (ORCPT ); Fri, 26 May 2023 16:37:36 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57FA6134 for ; Fri, 26 May 2023 13:37:35 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-96fa4a6a79bso172152866b.3 for ; Fri, 26 May 2023 13:37:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1685133453; x=1687725453; 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=eKtb5pF799Vf0zYkpYw5rmcT4zTxO2bOf/EKOzgAhcY=; b=BOjN3c0mNuFLGaA8ph4Pbmp3phDLkFpEmpt7ob4g0VlG6IQxJqBcj42Dej6W8LeWYR ql3RVtPvRxVf9j9PQKQl4EQewjdi4lBNwKNHhGhgUYmGJWUfOpULkOnvq2WUbMUju49c XvBg68bgZ9/uoJaW3x1ZF5yJPaw1gS1utGf6s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685133453; x=1687725453; 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=eKtb5pF799Vf0zYkpYw5rmcT4zTxO2bOf/EKOzgAhcY=; b=aYMP31XBEiNbCYz2c34ao73vL+NiqQ8AWPQs1k52b6I5h5nF/5FLgXIhPGwWM1VVhx sFYEWiU/el56UU1fLpYnOcoXaKEW8J12vbVGByVc+6W36GR8QkPA5BA4yrRuakRAgSBc kUI5phx6V2iPwYv8BF0EjsDMLjSYsZQAJAVSac5vfQ92Zk6XMthJ54Ed4025NBJ1LcgK FQ5NoR8aOJUT8Id+6SyFGbXYwDT/Lo/gW6IBhDv/yYWAUCxycpCQjKwsARCExBCj+Ahy r8WCEkdWwdn1C73+Igr96ydF+ivyVUUlFJKEaQb/9/T3CKq46I+/KtoTL99IQFLx1bgG 55UQ== X-Gm-Message-State: AC+VfDxJrs/JvEPoscpgM5BybpdPf0iOO0qDxdBEAT/j678nzCUNT5zz 850MeTIyZ/Xkyeat/GuKS04m1Rw0RjMRHpWiHI1VsFwE X-Received: by 2002:a17:907:6d1d:b0:973:daaa:f3e1 with SMTP id sa29-20020a1709076d1d00b00973daaaf3e1mr393603ejc.39.1685133453682; Fri, 26 May 2023 13:37:33 -0700 (PDT) Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com. [209.85.218.54]) by smtp.gmail.com with ESMTPSA id x15-20020aa7d38f000000b005068fe6f3d8sm289651edq.87.2023.05.26.13.37.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 May 2023 13:37:33 -0700 (PDT) Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-96652cb7673so174821266b.0 for ; Fri, 26 May 2023 13:37:32 -0700 (PDT) X-Received: by 2002:a17:907:3f92:b0:94e:dd30:54b5 with SMTP id hr18-20020a1709073f9200b0094edd3054b5mr3679061ejc.6.1685133452593; Fri, 26 May 2023 13:37:32 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Fri, 26 May 2023 13:37:15 -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 11:33=E2=80=AFAM Linus Torvalds wrote: > > Anyway, I guess *this* avoids all issues. It creates an extra jump to > a jump for the case where the CPU doesn't have ERMS, but I guess we > don't really care about those CPUs anyway. Well, I'm obviously wrong, because my very own CPU (AMD Zen 2) doesn't do E= RMS. But the extra 'jmp' doesn't seem to appreciably matter, so I guess I don't care. It does show up in profiles, but only barely. I've committed and pushed out the fix. Linus