Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2767479rwd; Fri, 26 May 2023 10:54:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5gT1ScngpfSHNEM1ORH6R24qLqlGh8Za0ZPHXUGrEEeej8pTIzYrYeADslkhU6VvvNdUW8 X-Received: by 2002:a05:6a20:12d2:b0:10e:a8e6:35d1 with SMTP id v18-20020a056a2012d200b0010ea8e635d1mr105362pzg.40.1685123658092; Fri, 26 May 2023 10:54:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685123658; cv=none; d=google.com; s=arc-20160816; b=mgUcu+noFbRpC0BedMf7Fkb2k16VyWTGHNz+D5smbIEORl7BhZOhtcD06w6SKigdVq 0Ffk0tlHCHZxWYtjMMJVFP0VetIE5mbb1esVI8RpTDFFSkzPFdGMsne4yfB7N7xj/C61 wpkGO8ao8JefbL6ulaJ98aO0pW1k3OZJ2po8ZTtUc2I6eJNd7ogjijfisGGfIWW8RZMo EKzo6wD4IMaazNCcgoBAla1cHA0hnBLAkoEQmSXHLQ1nx1imMoIKGyMiZfqyfgmze7wb cE67+F7lEMp6M+l9GT3gxRZgWR435kByvgMCVi8FafioQaYg41N0DEfYr9MPwPxFXfX3 TqSg== 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=pSaK6G2VVNNpdqq+Y56+DOhWYZRR11ay4bAj5o0qKr0=; b=wzpNaLzA6mL9/R0erPQsYDBdJJf4m8TBo+WxtQfGezR850e2ETsFYkRWqsmUy2UYaF ZPxYzaViwkWKKU+/L3D2BBZPFKFlNaAHVejyEEPgQXawskcSF36rk+NvwzE+gJTpSVYy HWuzC3P35KospkCbOHfPQbPu/lGcqnYgXNkbd9ZqPZpsoS+iJd4WUj/MJ7x5cPuwGUlU CVs3qAKHU8PnSmPC6cV+JUwqe05alKWoLxHgwZs0jsXcp/bhOHpKJEU/9smLqnRW4hJP yg+hqmlHaOcBMCh9ihoz3S5P9MuWHxMcgA9akaDD4gxaaHBF0Mb4cVSY1jwHYF4qwkVs N0JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=czdUTFvh; 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 v202-20020a6361d3000000b005138de75d17si4146589pgb.116.2023.05.26.10.54.05; Fri, 26 May 2023 10:54:18 -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=czdUTFvh; 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 S242657AbjEZRlL (ORCPT + 99 others); Fri, 26 May 2023 13:41:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236811AbjEZRlJ (ORCPT ); Fri, 26 May 2023 13:41:09 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92146E6A for ; Fri, 26 May 2023 10:40:58 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-96f8d485ef3so159879766b.0 for ; Fri, 26 May 2023 10:40:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1685122857; x=1687714857; 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=pSaK6G2VVNNpdqq+Y56+DOhWYZRR11ay4bAj5o0qKr0=; b=czdUTFvhPB0C6gRIDGLrtXntLLjn8RAMUDHXPG5nwslO2jPFmWYNzO+F0MNWObI7tc IdwG9omkM1l+EucKUrK4tisIoPYa/TVw8r+Ho1fMGy0DrxUz2LYhusjUAl/dG6r2MfJq dChQOAoZqKl4SeoRM/4MPmdihEA4hptwF3e/U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685122857; x=1687714857; 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=pSaK6G2VVNNpdqq+Y56+DOhWYZRR11ay4bAj5o0qKr0=; b=YFsRRmEQvLkC/aFKuccUuEQX6J22NfpGDAnPbyifC7mvWEVhp7t8QLI49mM7IEkCb3 z1ziiz3oI6mm7dpeNkOz8tw9+ZZunngJi3mYfNGLnW6TeoMiNY2DwdCzbcuaVjx3/zdT TrW5iCkLhZsgv1OMDBDredit6APMhg5uE+vdPys3u1mt2o5X44F2bJz5zYCpDLxtVB3c rCrv65yKVDPlRkUDsvTQoiPhc35pkP2EKzhesmQz1DIXACj9FOv2lLgfwLrQebcWJCMY 6oXC1/fw02t5qhmyloBFYPjly2I6Ghsewe5o4PPq1wQCbGDt6OZ+WzoEz2auDa7MEN1E yZJQ== X-Gm-Message-State: AC+VfDwMSUvRCYZlpZAfd+QH2oADyx4/wPQnw9EVj1ywpK6eV8qh8kT4 KKJlZofZDVj5Az5Wo4HdHUfuadCJbCJAgzHGVN7biVGM X-Received: by 2002:a17:907:84b:b0:96f:a0ee:114b with SMTP id ww11-20020a170907084b00b0096fa0ee114bmr2606337ejb.21.1685122856809; Fri, 26 May 2023 10:40:56 -0700 (PDT) Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com. [209.85.218.44]) by smtp.gmail.com with ESMTPSA id d5-20020a170906640500b0094ef923a6ccsm2417929ejm.219.2023.05.26.10.40.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 May 2023 10:40:56 -0700 (PDT) Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-96f7bf29550so157375866b.3 for ; Fri, 26 May 2023 10:40:56 -0700 (PDT) X-Received: by 2002:a17:907:786:b0:965:ff38:2fb3 with SMTP id xd6-20020a170907078600b00965ff382fb3mr2607275ejb.74.1685122856105; Fri, 26 May 2023 10:40:56 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Fri, 26 May 2023 10:40:39 -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 10:25=E2=80=AFAM Eric Dumazet = wrote: > > arch/x86/lib/copy_user_64.S:34:2: error: invalid instruction mnemonic > 'alternative' Ok, that's just odd. For me, assembler mnemonics - very much including macros - are case-insensitive. It's actually documented that way, with the example given is for a macro that is declared as "sum" and then used as "SUM": https://sourceware.org/binutils/docs/as/Macro.html And if you want to use macros as pseudo-instructions, that's what you want, since typically assembler instructions are not case sensitive. But yeah, your build environment is clearly different, and yes, we declare the macro with all caps, and other places use it that way too. Clang? Linus