Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1677903pxp; Thu, 17 Mar 2022 14:17:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwBBqwFmR4qg4SS6jjEa3cEt/9Pbn1HBlyCGzZfFa5cLMwWDMx13yH21iKcNaRlrRh/AGO X-Received: by 2002:a17:90b:388c:b0:1bf:4080:a1cd with SMTP id mu12-20020a17090b388c00b001bf4080a1cdmr7635249pjb.170.1647551875960; Thu, 17 Mar 2022 14:17:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647551875; cv=none; d=google.com; s=arc-20160816; b=XrDC6xXFXheQIY3KRevLBGeh+YcX0AmYhlSvkUrvAEUpmx1uUZxe4R0eo5HIC9+9ja NsYyyuwWYcHDbRBj8i+sIns6o/zzb4CsjEwyNLMwBRVFD1r51kynFdDB2B4t5HXODjfQ 6+RpD26VYNU1cHHMQiBwWxxNDtCnniAPqZxhcPEOhJweZ4x2XKIGtUaok43NRlqqolKN BH0VBdjX2vmlL3UCB0YEs1nNhnKgPPxCHTw/XJ68zPmlfFL3/wfoA+2GHxat0lPtblyp 6QTLvmIDY+XT2XjcBaqvnU0aXpWx+Z7l6bnRXA7Qgk6HGCfQOVlUxp9CnMNuKT1RYrt2 AmFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:dkim-signature; bh=A80UO70RbpUgRZwyo+dMTm5M2QgQT3IY4i2OtqIHADs=; b=mWAPI6LOVF8YDDv4qmHOEHENiG46x/ER9iuGTa3EwYGmEpiYxBufZfsM/FtlyFEPac QFp0JNjyViZfBz40unkkRov9olurYBq5aKTGWjgwIeIVw3WC/+XNaqfLqMqnWXXGiMzR LpJCqQjVrlla5J7Q6rtVsYuoQKagJXSe2MrKEduSzVhXAqxld1nioO+yWNQwSOtXMwbZ 6KBCkrAFOcYPd96Gi3VQRm3ncIibRqyxG1Auqsilfhd5KVaEYRDIVOkwOEewSkSch72s WewEjHC/3X/cN2jNfY9yI3FukguRi57BKSjypfXrXWLw8Fq77u72oyEi00uWm0O7uGDL vugw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QArZN4ks; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id d1-20020a170902c18100b00153b2d16573si197500pld.379.2022.03.17.14.17.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 14:17:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QArZN4ks; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8463B1F5186; Thu, 17 Mar 2022 13:50:03 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229909AbiCQUvP (ORCPT + 99 others); Thu, 17 Mar 2022 16:51:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229886AbiCQUvO (ORCPT ); Thu, 17 Mar 2022 16:51:14 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A16F1F1D19 for ; Thu, 17 Mar 2022 13:49:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647550197; x=1679086197; h=message-id:date:mime-version:to:cc:references:from: subject:in-reply-to:content-transfer-encoding; bh=OCmJYCFxkrfZnqc0HrsOziL96o+DxlHmBR8ARsJy1Tc=; b=QArZN4kstG1Tk9+DsfqeWeiMECEw8n7qrAwbz98ZywXAyLosaqi8pqJ4 lP1SzyxTolR82m0YAu5ZPnS0jwsq2pMAVO/II1dPchxmoMMIysw3rgVfR YLdQCo6IhYP8fdWzc9y4im7xvffE0YRcBnKQKKbStV3S4emryik9ayEIN ZHfxKgRsaHQx1UOWcleFaMjYydRHw/n/Khbw8Dyaq+AJPf/wZE9FnYVCY ZE6HM3RYy9sAiuWqnOhNnA145wnQaGZTsFWcGpytbq/ishLMk1Dg4NyrT 52QzT7xR1puMGW2Rb40yDtXn8T81Qxe/OsiAOB28W2FLCnAVdhrZ8FdMn A==; X-IronPort-AV: E=McAfee;i="6200,9189,10289"; a="236924706" X-IronPort-AV: E=Sophos;i="5.90,190,1643702400"; d="scan'208";a="236924706" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2022 13:49:56 -0700 X-IronPort-AV: E=Sophos;i="5.90,190,1643702400"; d="scan'208";a="516919382" Received: from dstanfie-mobl2.amr.corp.intel.com (HELO [10.212.178.19]) ([10.212.178.19]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2022 13:49:56 -0700 Message-ID: <285cf565-ebf7-8cf5-4e57-2245608e79fb@intel.com> Date: Thu, 17 Mar 2022 13:49:48 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US To: Nadav Amit Cc: kernel test robot , Ingo Molnar , Dave Hansen , LKML , "lkp@lists.01.org" , "lkp@intel.com" , "ying.huang@intel.com" , "feng.tang@intel.com" , "zhengjun.xing@linux.intel.com" , "fengwei.yin@intel.com" References: <20220317090415.GE735@xsang-OptiPlex-9020> <3B958B13-75F0-4B81-B8CF-99CD140436EB@vmware.com> <96f9b880-876f-bf4d-8eb0-9ae8bbc8df6d@intel.com> From: Dave Hansen Subject: Re: [x86/mm/tlb] 6035152d8e: will-it-scale.per_thread_ops -13.2% regression In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 3/17/22 13:32, Nadav Amit wrote: > Can you please clarify how the bot works - did it notice a performance > regression and then started bisecting, or did it just check one patch > at a time? Oliver can tell us for sure, but it usually finds things by bisecting. It will pick an upstream commit and compare it to the latest baseline. If it sees a delta it starts bisecting for the triggering commit. It isn't a literal 'git bisect', but it's logically similar. I did ask the 0day folks privately if they had any more performance data on that commit: good, bad or neutral. That commit didn't actually look to me like it was fundamental to anything built after it. It might not revert cleanly, but it doesn't look like it would be hard to logically remove. What other side-effects are you worried about? BTW, there's also a dirt simple hack to do the on_each_cpu_cond_mask() without a retpoline: if ((cond_func == tlb_is_not_lazy) && !tlb_is_not_lazy(...)) continue; You can't do that literally in arch-independent code, but you get the point. I know folks have discussed ways of doing this kind of stuff for other high-value indirect calls. I need to see if there's anything around that we could use.