From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3BD79C4332F for ; Sat, 16 Oct 2021 13:22:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1C0906101D for ; Sat, 16 Oct 2021 13:22:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240494AbhJPNZD (ORCPT ); Sat, 16 Oct 2021 09:25:03 -0400 Received: from mail.skyhub.de ([5.9.137.197]:37972 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240431AbhJPNZB (ORCPT ); Sat, 16 Oct 2021 09:25:01 -0400 Received: from zn.tnic (p200300ec2f1ceb007fb855408f3fbdbb.dip0.t-ipconnect.de [IPv6:2003:ec:2f1c:eb00:7fb8:5540:8f3f:bdbb]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 31B251EC03C9; Sat, 16 Oct 2021 15:22:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1634390572; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=fGrdl/qz1529NFQFPxNJ/LUsbpW0/CbFMjZPDMTEuug=; b=Rs3SENr/TxUofol7iOzjtpxwS4RCmX5JG2fzV54gxx9opx5TJytQLx2sl7dPqGbDlGFkqK nLO/HyaxLFTr+uRuVL29atSiiHSDCQvVjnm1YaVSozPRZORTR7rlS6SHauOTMMgVt0RkkZ sIhpHWkM223fXNEKHJRKGNAH8lmUJOE= Date: Sat, 16 Oct 2021 15:22:49 +0200 From: Borislav Petkov To: JY Ni Cc: Luming Yu , wujinhua , x86 , "zelin.deng" , ak , "luming.yu" , "fan.du" , "artie.ding" , "tony.luck" , tglx , linux-kernel , "pawan.kumar.gupta" , "fenghua.yu" , hpa , "ricardo.neri-calderon" , peterz Subject: Re: =?utf-8?B?5Zue5aSN77yaW1BBVENIXSBwZXJm?= =?utf-8?Q?=3A_optimiz?= =?utf-8?Q?e?= clear page in Intel specified model with movq instruction Message-ID: References: <1631177151-53723-1-git-send-email-wujinhua@linux.alibaba.com> <1cac1499-6b00-3c18-b64c-a22f269a2706@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1cac1499-6b00-3c18-b64c-a22f269a2706@linux.alibaba.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 16, 2021 at 08:58:32PM +0800, JY Ni wrote: > I rebased this patch on linux-next repo and measured the time of building a > same kernel in original/add-movq-patch version on the same intel CPX server. ... > delta = (*build_original_time* - *build_movq_time*) / (*build_movq_time*) > > This set of data shows that movq-patch version has better performance than > original version in most cases. First of all, please do not top-post but put your answer under the quoted text like everyone else. Then, please explain how exactly you ran that measurement so that I can try to reproduce it here too. And just to make sure we're talking about the same thing: the patch in question is this one: https://lore.kernel.org/r/1631177151-53723-1-git-send-email-wujinhua@linux.alibaba.com correct? Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette