From: Dave Hansen <dave.hansen@intel.com>
To: Nadav Amit <namit@vmware.com>
Cc: kernel test robot <oliver.sang@intel.com>,
Ingo Molnar <mingo@kernel.org>,
Dave Hansen <dave.hansen@linux.intel.com>,
LKML <linux-kernel@vger.kernel.org>,
"lkp@lists.01.org" <lkp@lists.01.org>,
"lkp@intel.com" <lkp@intel.com>,
"ying.huang@intel.com" <ying.huang@intel.com>,
"feng.tang@intel.com" <feng.tang@intel.com>,
"zhengjun.xing@linux.intel.com" <zhengjun.xing@linux.intel.com>,
"fengwei.yin@intel.com" <fengwei.yin@intel.com>
Subject: Re: [x86/mm/tlb] 6035152d8e: will-it-scale.per_thread_ops -13.2% regression
Date: Thu, 17 Mar 2022 13:49:48 -0700 [thread overview]
Message-ID: <285cf565-ebf7-8cf5-4e57-2245608e79fb@intel.com> (raw)
In-Reply-To: <DC37F01B-A80F-4839-B4FB-C21F64943E64@vmware.com>
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.
next prev parent reply other threads:[~2022-03-17 20:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-17 9:04 [x86/mm/tlb] 6035152d8e: will-it-scale.per_thread_ops -13.2% regression kernel test robot
2022-03-17 18:38 ` Dave Hansen
2022-03-17 19:02 ` Nadav Amit
2022-03-17 19:11 ` Dave Hansen
2022-03-17 20:32 ` Nadav Amit
2022-03-17 20:49 ` Dave Hansen [this message]
2022-03-18 2:56 ` Oliver Sang
2022-03-18 0:16 ` Dave Hansen
2022-03-18 0:20 ` Nadav Amit
2022-03-18 0:45 ` Dave Hansen
2022-03-18 3:02 ` Nadav Amit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=285cf565-ebf7-8cf5-4e57-2245608e79fb@intel.com \
--to=dave.hansen@intel.com \
--cc=dave.hansen@linux.intel.com \
--cc=feng.tang@intel.com \
--cc=fengwei.yin@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=lkp@lists.01.org \
--cc=mingo@kernel.org \
--cc=namit@vmware.com \
--cc=oliver.sang@intel.com \
--cc=ying.huang@intel.com \
--cc=zhengjun.xing@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox