Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp428816pxb; Thu, 9 Sep 2021 04:22:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRyxCJJaLAbBt05kRGbhvqf2/JTSjfmLB1ZgArM3VNBRoe5174y6ealVNV0n4+DRU126Tv X-Received: by 2002:a92:6b01:: with SMTP id g1mr1955478ilc.251.1631186559387; Thu, 09 Sep 2021 04:22:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631186559; cv=none; d=google.com; s=arc-20160816; b=CM4aYOk9SLKDBVyGw76ZqwtIvIiZMy5FHxJ6dYpknkFBbDA8yMY0o4+BUCkXxQcEA5 FvhQ4wYsqo8bs5FisILBxSVhyaETAPpCNgj5O361AT0DCxu+RK/ouKvKJmD6puX/XYD6 NdTFIcLKFqMr6aL3jMiPLgUR6sg0roX+XLbAUEMbRU0I061mP6hO5S6riSS2SBZuep6o iLZYElZEfWwJgyUpj239bwAaqCpIwaSGC0RMEBlZ1byViZ1UgKcEnyc7bbjcwIFfKSeR k8/RXlaC/DzLqWffga9IGKEsMil3O8odob5GsLFtT1U8ZHGxOj2aJLzGMklhf1xIXDDD eyJg== 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:dkim-signature; bh=jaJtesKRoklJVXwdW7zAa8t5N8UFqBRttpPsWpVpM7g=; b=OkHnaiVWQ2cQLRxTgw7d4AGkLaH8a3y/FtFwRf2As+Kf8EDOWrp49GcEL+DzG27rKZ wz23Zwc+Yqt5rys2Wjq9AN1nWoS5CxDuGZndy1O92DJSeWcd5wgG6Xo/kP4uvBZlXiyP 84tKsphHrpachN9DfbyiR659z01lKc1Hs7y76rqUuOfRawz9kJobtjh9fDFoYHrskUER +pOmlpTf6o803mBDR9BMhJi0BvEpxWQK9GSWNbQIRhpNQ4W5ousoD3Z9elT5TApOi2cu 2RlpevzpE4cOJAo/0A6yl7sD0dbSWFdZDXIaUvItgRxPyg5HVc1aw6FnTPW7Dw8qrYKy 5vtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=uhx3f9eb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e3si1512797ili.28.2021.09.09.04.22.27; Thu, 09 Sep 2021 04:22:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=uhx3f9eb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235646AbhIILUz (ORCPT + 99 others); Thu, 9 Sep 2021 07:20:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236624AbhIILUm (ORCPT ); Thu, 9 Sep 2021 07:20:42 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1943BC061575 for ; Thu, 9 Sep 2021 04:19:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=jaJtesKRoklJVXwdW7zAa8t5N8UFqBRttpPsWpVpM7g=; b=uhx3f9eb+kolwaPTJucGoaE3Pf pd0A6KagGUUL6kDPgjRDektEPVSPC/l1BWXWUEKn6bVwJVgcQpLiHibbBNifPocAHa0KbmdEW2qbK HLf/c/QuUf2U2CN7/NBaSCxMXTipKGAO8614nGkr1woOkUiI1If/mDfW6ws/JzpGigNorOkDKg6ZW 4znqyoukhoSPH9jB3+/0vFS1IcepZOyyp5m0p6DCGzwHJcPoJbxvbmJUuCyXg0R9yuF2mHnpn801a JEMV+B6bHcHyhwdGYWN8nGHSim2XWXdTny2TCZ7pACKVf6uz3TPvECH6Asi1fM1p2MiigRC9qM9JR 5mHFbDuw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mOI4F-009ktt-Ie; Thu, 09 Sep 2021 11:18:13 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id B7DF2300047; Thu, 9 Sep 2021 13:18:06 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 980E820C0903F; Thu, 9 Sep 2021 13:18:06 +0200 (CEST) Date: Thu, 9 Sep 2021 13:18:06 +0200 From: Peter Zijlstra To: Luming Yu Cc: Borislav Petkov , Jinhua Wu , the arch/x86 maintainers , zelin.deng@linux.alibaba.com, jiayu.ni@linux.alibaba.com, Andi Kleen , Luming Yu , fan.du@intel.com, artie.ding@linux.alibaba.com, "Luck, Tony" , Thomas Gleixner , LKML , pawan.kumar.gupta@linux.intel.com, "Yu, Fenghua" , "H. Peter Anvin" , ricardo.neri-calderon@linux.intel.com Subject: Re: [PATCH] perf: optimize clear page in Intel specified model with movq instruction Message-ID: References: <1631177151-53723-1-git-send-email-wujinhua@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 09, 2021 at 06:34:40PM +0800, Luming Yu wrote: > do you mean jump label would not be replaced to nop when its key is enabled? > so we could not use it in certain functions? But why add a jump label when you can make that alternative DTRT ?