Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1264041pxb; Sun, 19 Sep 2021 11:18:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweM9aDVAq9j768QOo20vDVfkbbhuE9gWVdXipDs8wVvMvmHqGMZf+ZZos/ihaBZ7mY+Df/ X-Received: by 2002:a92:870f:: with SMTP id m15mr14180894ild.2.1632075534804; Sun, 19 Sep 2021 11:18:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632075534; cv=none; d=google.com; s=arc-20160816; b=lKgHx0JAw7L996x7Z8i2qDmUdimabVQHae+wOxAv2CCuujBliORro+gUmE1CW4tHew R/EiI2DmKvluj76G495s7anZmbAFtj+sdxXoQAPebwXWApMcx5LmYfRzweqJlWZpbnru nLFfMIOixnSdySMFfBbZyTUIiM+pGt0+9sTrhIlZtyxxfvwaS0R68btEloun/IceY61J 35Wqza6uu6YfVzsZSadNl02oYrEYSepoptpcK4H7kzB0QyMTjivWisR1e7IybhJbHVEM IHyYRCKkmrXlBKgET4ft55qxbKFY86ZlX7JPKXPYW+PD1eikhCWGLNppy0Ih2WJxr6yt cD8g== 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:reply-to:message-id:subject:to:from:date:dkim-signature; bh=xuXdpkBz+oRxVWIjtuoTAVdiKjfXkp0kOVfwXdx7Fvs=; b=nie0IHWxo2dVegxMdFGlu4VM/Q1rcl5JtpIZ8BLeGtWspt7ljns9LeDshS8tmVGAs0 /pHecaJ6S9wsfWvNBJF+Cej7gJ+trOu4JTdBzq48wiZmxndk9apt7uDBwTRi+SaGyVZL W1ARvXkzp1dV2FQa7Rq1Ye20eiMUCR0ouWOYFO1fRmBhN/WKi5elAT1epQmkF8/Mb9Rt AM07vRJcuJJ+EMcb4YYciovZaxtC9/PdcXqHbuLHlaOwfXdI6opTRMs8LKpOK1sSHM+V i+Fiy7Jvd8YJ1OUfkPxDHsnsGwY2P6+0Bt1B2htdgJpCk8W1pyc8y2xf3tUz0yUhjbVs to1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=F0e22hv5; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x6si11787596ilv.42.2021.09.19.11.18.39; Sun, 19 Sep 2021 11:18:54 -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=@kernel.org header.s=k20201202 header.b=F0e22hv5; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229529AbhISQhG (ORCPT + 99 others); Sun, 19 Sep 2021 12:37:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:42832 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbhISQhF (ORCPT ); Sun, 19 Sep 2021 12:37:05 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 36AC6611C8 for ; Sun, 19 Sep 2021 16:35:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632069340; bh=V4HgvipBQttIvPWgUIeG7T7DNHIK6v4oOUEZtOGIJV0=; h=Date:From:To:Subject:Reply-To:References:In-Reply-To:From; b=F0e22hv5XKqRvR/3JWM1ZNxaafu9pA+RcnEXd5fG3seWzzBBq/AiXInHpn3BoZLBx ltZDagnjgKwAikiWVeyU/g54m2RfR0jYh3loJ0N9+nZ2szmVwmxXDk5UfL5vXTD+vl N73UlTZT9BYPas2C/yGQqKH9lyL3PNGJDiOZ56tVRSk59USnPuHYaqh7b9VpyRUS1k Qjnme8Ea4Hqz/W4tqfg1EF9eeHk7J0oVRNnSAWrhPaR8X+Qbo/zRYTVqNS5XpnL6D2 30PmGnoFYNxCAT84g1njYs/wHf/mPYX8DouwE3etK0Pz5zOiR8nD++VPCn1sDP8GI3 kFOGSNSuj/3jQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id F13845C0692; Sun, 19 Sep 2021 09:35:39 -0700 (PDT) Date: Sun, 19 Sep 2021 09:35:39 -0700 From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Subject: Re: call_rcu data race patch Message-ID: <20210919163539.GD880162@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org References: <20210917191555.GA2198@bender.morinfr.org> <20210917211148.GU4156@paulmck-ThinkPad-P17-Gen-1> <20210917213404.GA14271@bender.morinfr.org> <20210917220700.GV4156@paulmck-ThinkPad-P17-Gen-1> <20210918003933.GA25868@bender.morinfr.org> <20210918040035.GX4156@paulmck-ThinkPad-P17-Gen-1> <20210918070836.GA19555@bender.morinfr.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210918070836.GA19555@bender.morinfr.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 18, 2021 at 09:08:38AM +0200, Guillaume Morin wrote: > On 17 Sep 21:00, Paul E. McKenney wrote: > > That is them! There are some flags that control their activities: > > > > o rcu_data structure's ->nocb_gp_sleep field (rcuog) > > o rcu_data structure's ->nocb_cb_sleep field (rcuoc) > > >From the same kdump: > > crash> pd rcu_data:all | grep -E 'nocb_cb_sleep|nocb_gp_sleep|per_cpu' > per_cpu(rcu_data, 0) = $69 = { > nocb_gp_sleep = 0 '\000', > nocb_cb_sleep = false, > per_cpu(rcu_data, 1) = $70 = { > nocb_gp_sleep = 1 '\001', > nocb_cb_sleep = true, > per_cpu(rcu_data, 2) = $71 = { > nocb_gp_sleep = 0 '\000', > nocb_cb_sleep = true, > per_cpu(rcu_data, 3) = $72 = { > nocb_gp_sleep = 0 '\000', > nocb_cb_sleep = true, > per_cpu(rcu_data, 4) = $73 = { > nocb_gp_sleep = 1 '\001', > nocb_cb_sleep = true, > per_cpu(rcu_data, 5) = $74 = { > nocb_gp_sleep = 0 '\000', > nocb_cb_sleep = true, > per_cpu(rcu_data, 6) = $75 = { > nocb_gp_sleep = 0 '\000', > nocb_cb_sleep = true, > per_cpu(rcu_data, 7) = $76 = { > nocb_gp_sleep = 0 '\000', > nocb_cb_sleep = true, > per_cpu(rcu_data, 8) = $77 = { > nocb_gp_sleep = 1 '\001', > nocb_cb_sleep = true, > per_cpu(rcu_data, 9) = $78 = { > nocb_gp_sleep = 0 '\000', > nocb_cb_sleep = true, > per_cpu(rcu_data, 10) = $79 = { > nocb_gp_sleep = 0 '\000', > nocb_cb_sleep = true, > per_cpu(rcu_data, 11) = $80 = { > nocb_gp_sleep = 0 '\000', > nocb_cb_sleep = true, > per_cpu(rcu_data, 12) = $81 = { > nocb_gp_sleep = 1 '\001', > nocb_cb_sleep = true, > per_cpu(rcu_data, 13) = $82 = { > nocb_gp_sleep = 0 '\000', > nocb_cb_sleep = true, > per_cpu(rcu_data, 14) = $83 = { > nocb_gp_sleep = 0 '\000', > nocb_cb_sleep = true, > per_cpu(rcu_data, 15) = $84 = { > nocb_gp_sleep = 0 '\000', > nocb_cb_sleep = true, > per_cpu(rcu_data, 16) = $85 = { > nocb_gp_sleep = 1 '\001', > nocb_cb_sleep = true, > per_cpu(rcu_data, 17) = $86 = { > nocb_gp_sleep = 0 '\000', > nocb_cb_sleep = true, > crash> This is consistent with CPU 0's rcuoc kthread processing callbacks and all of the rcuog threads waiting for more callbacks. How is the testing of the patches going? (I am guessing nothing yet based on the failure times, but who knows?) Thanx, Paul