Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1750070pxb; Fri, 22 Oct 2021 07:01:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzojuFHnh30CDYQ3yIbVSdbFBp/UacxX0wjm1rkeo4CkjhVXQ0Fc5DU31MyWtbp9XjQaazt X-Received: by 2002:a62:ab17:0:b0:44c:f727:98cd with SMTP id p23-20020a62ab17000000b0044cf72798cdmr12462868pff.35.1634911278021; Fri, 22 Oct 2021 07:01:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634911278; cv=none; d=google.com; s=arc-20160816; b=Pcyk4tKmxrriDUIHDjj0V1MOzwzMfAKY/bg0OMCiIAw9sYCmM3WpM7N9LNWIMpkrcl AGNATZ4UAjFeiE7AJRvVHlz2EgF+RBtYsSSAzbL6yD6sWu62eKWBm5WzM0qjJPg59jv2 NhNdRSwx0rIFX5lAMLU/oTbOJmnfH4KTxb24lOEvi3+gixnRsmM/G9+1KHj5b2JHjx/+ tpQcFl4Sc4hD8XuHcIh4VudqpCYSb8pGkneXj/xW64FgsleOX0ynEtpXsXAheEVN59ww F5/4rKNZYzp8IA0nFsXa/2+tEHS81mv7ItwgwtMKsXmKgAPrDdWg8J2jrSgAuBL7A4eR jKDA== 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=BR6uDgd4EQWygbQFY7F2sfj4ZCUokL+ukMCfSOOPYV8=; b=FPARQcuGKBQItduCnBX82UnzSfuZ3vWervOM/b9MHesY919wV9BOB/lR/o79GTuL+M 2GBAQcOVflxN79MEuvB7/P/8tslqcTgZo2gHyqkczoDi59IcXs6/SjJfZCEV5GIgGzKe 9POZmOv2bb/orIhONN17S08AQxV8/6x7cwCaSE+ogRabicr75I0mCQstDi70v+Rh77hs VfLHj7XT+048wNhtI7fJ5kaTOfEcf5Z4+3BFgHDCFVWc+3FSt3IVXzqFBzyD8Qr/IhAm NqwJP9Yfh//Y11o1uoFWcQmWpE2MF7nV6szrjXopSuO/EB9vhAzTbfBShx1FaI6rdiS7 sBnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=kEoNugZ1; 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 lk11si13105065pjb.187.2021.10.22.07.00.55; Fri, 22 Oct 2021 07:01:18 -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=desiato.20200630 header.b=kEoNugZ1; 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 S233026AbhJVOBw (ORCPT + 99 others); Fri, 22 Oct 2021 10:01:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232986AbhJVOBv (ORCPT ); Fri, 22 Oct 2021 10:01:51 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9482CC061764; Fri, 22 Oct 2021 06:59:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; 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=BR6uDgd4EQWygbQFY7F2sfj4ZCUokL+ukMCfSOOPYV8=; b=kEoNugZ1yNlPbNSl50sN+TR1UB uHNC1LaF7I2zS04wHiJBkwmhyldxRNtb3zj+1xDe5/DQd1aJpBVAutnUDpmeFUkwPEpavNf6WzS7t RO9sQwrEOB5fyM6FUl8QzseY0Yzm4Ie/LraGTtVJwYvGX3TpVHtMbbePlIeMXMWmleAL3w2dLEBoC hKEa3kfwerSGQgd3e9Z6QhrDNhV2GcgbU8FkyrdWh4j3ZRrHlABMlVo2AvqnPU4PI3UG2htGk7NLa hF5CzWjWTUxTGs3Tv3xxnMf2teOIrasc75t4WSnk2xfSWcHAhq8MZLUARrBCyclcGMB9qx/lIyQ0X sEU16JOA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mdv4g-00BacO-VL; Fri, 22 Oct 2021 13:59:11 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 07F69981F9D; Fri, 22 Oct 2021 15:59:10 +0200 (CEST) Date: Fri, 22 Oct 2021 15:59:09 +0200 From: Peter Zijlstra To: Wanpeng Li Cc: Paolo Bonzini , LKML , kvm , Davidlohr Bueso , Oleg Nesterov , Ingo Molnar , "Paul E . McKenney" , Wanpeng Li Subject: Re: [PATCH] rcuwait: do not enter RCU protection unless a wakeup is needed Message-ID: <20211022135909.GB174703@worktop.programming.kicks-ass.net> References: <20211020110638.797389-1-pbonzini@redhat.com> <98a72081-6a2b-b644-d029-edd03da84135@redhat.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 Wed, Oct 20, 2021 at 08:08:41PM +0800, Wanpeng Li wrote: > On Wed, 20 Oct 2021 at 20:04, Paolo Bonzini wrote: > > > > On 20/10/21 14:01, Wanpeng Li wrote: > > > Yes, in the attachment. > > > > > > Wanpeng > > > > This one does not have CONFIG_PREEMPT=y, let alone CONFIG_PREEMPT_RCU. > > It's completely impossible that this patch has an effect without those > > options. > > Sorry, should be this one in the attachment. Uhhmmm.. you have lockdep enabled. You know you shouldn't be doing performance measurements with lockdep on, right?