Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2057854pxp; Fri, 18 Mar 2022 02:05:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWvF6O+J8lCZ9IVMYpwHWbDk44habrny/OzonklooJmbHNhrgFOQ3KJjqHAX/1PdiQCssL X-Received: by 2002:a63:4005:0:b0:373:9ac7:fec1 with SMTP id n5-20020a634005000000b003739ac7fec1mr6997151pga.12.1647594319541; Fri, 18 Mar 2022 02:05:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647594319; cv=none; d=google.com; s=arc-20160816; b=cfTXqnliF+PFHk8QIHpqTVlzoid75NQhbgM3XQ0zrQnFeTp6X7V5OEq+u2fW47oFdx a40LhFUpOQWYDdjtghhbUqcQKWfBnev3Ioe5k64vkfM7ehVaGm96XCYqg2V5tXIQQDHB Tmb1cneBuO9yPlZbLr5efmbWBkGqW+9kV/P9xVoDVwzpl2U/3wp1Y978UyOp85bYybW8 g5kZAHYIlNMWMAbxmY5DQKTABh7NfJ1dyOFANZKOX5OaYHZ+FyDu8r/NUGZMoiBhZ9y1 ShSXDkdWcRW61oWkjzdMXhIak2xAP/J4wnO5mK8JFu/sKW2NgnksufjTP54EOcG0iGFj 4xeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ot2cVRVB47Ay0w6jvcH9eQ8LqzxwZ7Qf0I3TXu3JZws=; b=KaKWnOuMjzos5qMsjG0cKJNnV/l7wcdCQusEt/28mjUNTbb90NPIXFMo0yd4Irm/Mt nAClA6xEUbbWWMI1CP7DtmvLUX2DoepnzdVWcSu6y7SJ0RgWwvOkBEExkK+z43g5WLrt Sglb0jnWHwL4RoEcYa+lAPwJLCVkVv1sBL/v50XmZqxc+21chrOoKAW1R10a1bsuTTIX nDZ75Vi2i/3vo2U0rVOvm9PMHa5EaQ2wkc+cSdEDPbkoQdF4KYPta2C2LQt8QIunwFgN tVgLsPgzOnjOjLEEezmsdhVDP0+KlzPeYElZT8wT1/P90xjh/t9NNiExgbrDicVSKN8w UGBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XdLgOJ2U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e21-20020a056a00163500b004f7decdecfesi6607018pfc.61.2022.03.18.02.05.06; Fri, 18 Mar 2022 02:05:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XdLgOJ2U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232673AbiCRGRa (ORCPT + 99 others); Fri, 18 Mar 2022 02:17:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231149AbiCRGR0 (ORCPT ); Fri, 18 Mar 2022 02:17:26 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EC5D2B3D49 for ; Thu, 17 Mar 2022 23:16:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647584168; x=1679120168; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=eqTcK21Pg5YOgEKX8Gi54DOK6hT4tSxuIyCswR9mBog=; b=XdLgOJ2U2k84gpwiR2bc6law4BRHh7r08Zljla+GdBLHuQVa0U7vn4kk Dz8As8eUE7ItHnSNQNloX27q/bB6g8se84hLZ1SORscMm/iXOhfgmWsm0 IindX/yMueQqDIxgTQu+52jaThZ0d1b9LXITjY+Z0L5nRUp1kZY8etCJt ekrNY3i4JuUhMMOegOqVJVMAP45QGGnTraTpeQdV5BBfwVAA0jZiRbVG7 IfTCvW/5cDddm0MQfTLwyyCsc6WXAExhhU1iBwlYVgvZIOThvqGZYpVyg qREnXHpP6mvpWAYxOkX8UGN52XFvt/FQOv1DKQTOOLcVR5tP1ZEJwfmfV w==; X-IronPort-AV: E=McAfee;i="6200,9189,10289"; a="237008025" X-IronPort-AV: E=Sophos;i="5.90,191,1643702400"; d="scan'208";a="237008025" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2022 23:16:08 -0700 X-IronPort-AV: E=Sophos;i="5.90,191,1643702400"; d="scan'208";a="691196747" Received: from xsang-optiplex-9020.sh.intel.com (HELO xsang-OptiPlex-9020) ([10.239.159.143]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2022 23:16:06 -0700 Date: Fri, 18 Mar 2022 14:16:03 +0800 From: Oliver Sang To: "Paul E. McKenney" Cc: lkp@lists.01.org, lkp@intel.com, LKML Subject: Re: [fixup! EXP srcu] 7bf8d644f8: WARNING:at_kernel/rcu/srcutree.c:#process_srcu Message-ID: <20220318061603.GC12658@xsang-OptiPlex-9020> References: <20220312155919.GD1189@xsang-OptiPlex-9020> <20220314203814.GZ4285@paulmck-ThinkPad-P17-Gen-1> <20220316165342.GA1931135@paulmck-ThinkPad-P17-Gen-1> <20220317071608.GB735@xsang-OptiPlex-9020> <20220317180129.GR4285@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220317180129.GR4285@paulmck-ThinkPad-P17-Gen-1> User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Hi Paul, On Thu, Mar 17, 2022 at 11:01:29AM -0700, Paul E. McKenney wrote: > On Thu, Mar 17, 2022 at 03:16:08PM +0800, Oliver Sang wrote: > > hi, Paul, > > > > On Wed, Mar 16, 2022 at 09:53:42AM -0700, Paul E. McKenney wrote: > > > > > > > > I had a feeling that the simple fix wasn't going to cut it, so thank you > > > > for finding a scenario that proves that to be the case. Fix in progress, > > > > to be folded into the original with attribution. > > > > > > OK, the attribution isn't quite there yet, but the squished-together > > > commit is here: > > > > > > ea0098f19115 ("srcu: Prevent expedited GPs and blocking readers from consuming CPU") > > > > > > Does this version behave better for you? > > > > we tested this commit, found the issue gone. > > please be noted the issue on 7bf8d644f8 is random and ~25% rate. > > so I queued to run 100 times for this new commit, which is finally clean > > according to tests. > > > > ========================================================================================= > > compiler/kconfig/rootfs/sleep/tbox_group/testcase: > > gcc-9/x86_64-rhel-8.3-func/debian-10.4-x86_64-20200603.cgz/1/vm-snb/boot > > > > commit: > > feebd043ec6b ("Revert "srcu: Avoid expedited GPs and blocking readers from consuming CPU"") > > 7bf8d644f869 ("fixup! EXP srcu: Check for too many zero-delay srcu_reschedule() calls") > > ea0098f19115 ("srcu: Prevent expedited GPs and blocking readers from consuming CPU") > > > > feebd043ec6b9eab 7bf8d644f869260f63eaaedebab ea0098f191152c7fe3db5181a2e > > ---------------- --------------------------- --------------------------- > > fail:runs %reproduction fail:runs %reproduction fail:runs > > | | | | | > > :16 25% 4:16 0% :100 dmesg.RIP:process_srcu > > :16 25% 4:16 0% :100 dmesg.WARNING:at_kernel/rcu/srcutree.c:#process_srcu > > Thank you for testing this! Tested-by? sure! Tested-by: kernel test robot (and will add this in early mail about testing if I have enough confidence in the future :) Thanks) > Thanx, Paul