Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1711324rwb; Thu, 29 Sep 2022 00:47:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5hW+FRF/A2apPaVLOE0/Zm0sAostve3Yj1IuljvFpBFWYIHTsidxMG5Mf+rx7ETs8QbLX3 X-Received: by 2002:a17:90a:644e:b0:200:422c:6b1 with SMTP id y14-20020a17090a644e00b00200422c06b1mr2277977pjm.183.1664437662492; Thu, 29 Sep 2022 00:47:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664437662; cv=none; d=google.com; s=arc-20160816; b=mwcd/VPY8m37WHwW9aYDXyCrwmoBbc2zU0TVdZYKeh8XcZtSmUfk6+4TddXATHHRTr 3WFvgO9ChAC9V97wIhxjfrvzG/90Ib2Vce18D5u7n2Cbvy5N/nu7uUFUol5kMVbo8St2 TtpNl8opUDVokDkjnz9c7hx1qFkNkEETQEx/JQFBAOP7cwTiTUtDljBTwa30EMBxQ//R +lLreE0KgBgrBIcS36iKyXLaQsxBIADvHvBeGLOo0r44R4kY4pzWQF0/qUouzjqj2t0/ fw6nIf23+KK9Giq2pY7DKA8z4Iq/kR85mrzIUSYGrmUH6gk7mz1cyxLGZorR6F1p/K7Z vifQ== 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:sender:dkim-signature; bh=zmbXriehZST5wK7cmCdFWN0bk9XDgfhPqDEbpKUatxo=; b=bo+FuuMZZUg5EIx4F8GHEqVBQS4vv0qd3F31WsCg//wZb2rgxeTr4W8YCk0jfsuzMc y0NmLgW6MAibigDenwCBIL14x29/GVW8WqKGmEzdP75MUvr2jCD87oUzQSywasGqLoxo EfmigU/7xwXNltm2/M9OQYPWSqr+5J8vIHpN1+J/RFNWAs8dupv/8PovCw1NUz8+kNC9 upDfQj+dMxkCIU82qrT607Ko94epQU9KB5UW/8q0QFQzAfL0BmxkNJJIGE0Lx+bnKl+C etTB/ElD1psK+A0e2Qdc1ptf3K+aXAmSJqewJR7ZOsLrPTZM9ZKh8DpyfFonwmReJgOW dgQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZvnRW41h; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i186-20020a6387c3000000b0043c8ce92ab1si8104598pge.461.2022.09.29.00.47.29; Thu, 29 Sep 2022 00:47:42 -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=@gmail.com header.s=20210112 header.b=ZvnRW41h; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235092AbiI2HCb (ORCPT + 99 others); Thu, 29 Sep 2022 03:02:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235009AbiI2HCA (ORCPT ); Thu, 29 Sep 2022 03:02:00 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D91A413070D for ; Thu, 29 Sep 2022 00:01:51 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id sd10so869738ejc.2 for ; Thu, 29 Sep 2022 00:01:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date; bh=zmbXriehZST5wK7cmCdFWN0bk9XDgfhPqDEbpKUatxo=; b=ZvnRW41heHvp1qflvb4jaTE5Eh8nioSgNqdXM9UsRMpnjyBwWr22BqJUV8vVSnOHZT TJOZpIcbcXSQnEYfd4BKEYPMHiiykHi+A+SAItusOcqZmoWyCFLz4/zDmQyb6lZRmSZm FDiwt9A/kcS4rIe+ftqEVx+AW13N25NYDX0HDBYCrlvQDqTg/aL/nt4jRVzTO97xFv7U 3NR20zYi732g0WDuqDhoWQulZ9l9BXpK7bwYeX53hodsvve/7XxaxBv+0pRXMfXt2/gI na9RX8IhpMGvOy3w90bQc1uJb9u46ZlomYdy7h/MXzFXkmYX36PDswKgLqAF2siWzncD N6eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date; bh=zmbXriehZST5wK7cmCdFWN0bk9XDgfhPqDEbpKUatxo=; b=vD6aHlQXX2VL3XopfGlJJp3xoPbv8n47FgYl2OsLzppo0m7SnFL32PW/WXn+fMniAu lXIlUI7IE5KY75junw7cTraofKPHqWvj5u/52saNOrh1xI1db1y/nWC62vUVOi/G46j2 /eN8amC5qpsm6RjqzGk8Aq6hV34u+/hdYe51rIxBDQTvV4fx9zMdT4tGwLP56qs1KjJH 1/gtWhVJ9B5uKgiS9mxZtzWLZG4CYkvh4xhby0paBpOQa8m0gsHxIDkOXe3amPOnSEcv mqQ9laWrtX/G3ZF4cBjEDAxeyCGOISCD0K0EOfR2cJsZjgCER6UNJ3FOOL7afH/bnahp 9arQ== X-Gm-Message-State: ACrzQf3AlMAu3r1ykI3QLpVZwJl25tS3xT2+vB4CZqxqt/UawoF3qDem S5wsa02iiXa+zGboaMR2iZ8= X-Received: by 2002:a17:906:794f:b0:781:dbee:4256 with SMTP id l15-20020a170906794f00b00781dbee4256mr1497560ejo.404.1664434909897; Thu, 29 Sep 2022 00:01:49 -0700 (PDT) Received: from gmail.com (1F2EF01B.nat.pool.telekom.hu. [31.46.240.27]) by smtp.gmail.com with ESMTPSA id g23-20020a170906539700b00738795e7d9bsm3443108ejo.2.2022.09.29.00.01.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Sep 2022 00:01:49 -0700 (PDT) Sender: Ingo Molnar Date: Thu, 29 Sep 2022 09:01:46 +0200 From: Ingo Molnar To: Nick Desaulniers Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H . Peter Anvin" , Peter Zijlstra , Kees Cook , linux-kernel@vger.kernel.org, Linus Torvalds , llvm@lists.linux.dev, Andy Lutomirski , Rasmus Villemoes Subject: Re: [PATCH v4] x86, mem: move memmove to out of line assembler Message-ID: References: <20220928210512.642594-1-ndesaulniers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220928210512.642594-1-ndesaulniers@google.com> X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS 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 * Nick Desaulniers wrote: > + /* Test a backwards overlapping memmove first. 256 and 1024 are > + * important for i386 to use rep movsl. > + */ Nit, please use the customary (multi-line) comment style: /* * Comment ..... * ...... goes here. */ specified in Documentation/CodingStyle. Thanks, Ingo