Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3334714ybd; Fri, 28 Jun 2019 06:55:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqz+yYNRLPUJkdvS+L/YPEyh+KwYtw/Hze1q35Vjs/7VEkomeB27FkbTs5+Bv6VFr8eCJDJC X-Received: by 2002:a17:902:2aab:: with SMTP id j40mr11346234plb.76.1561730159511; Fri, 28 Jun 2019 06:55:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561730159; cv=none; d=google.com; s=arc-20160816; b=poa3nyxEViv+mzBR3hNAJmgF38Rdy33yh2NHeV9TBvq/IJqIHOHSwk8E7EYTxq3KUz 8sLslS3KBmKN19v1QQ95IudiPJdSo90pxzG3kKy/S7QLS2vyhSD4PsBPJEXGc+MfkRx7 kjv7OSYSPOxCrfvGpJAllVlPJtq0hTTMgEkTvVoZ53c3vtjDHOXSAF9AvnDW8jT+c5va bP22tFkN7e6O57F6Z3GR+PnQ1VVbFvQe68w4fwZ1sMjztBu0fEz7d9FFeYcP7B8lL9K6 cHmEB0uAvSEUU2s6JpVxqSPcUDic07QFCgf4ZkW1XuJb7mztfYH46dLEWw9MYrP2IyBl K5vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=wYcNOsgWlh/Ecvl7SnDlME5ey9iGCA4wqtawTfBrfA4=; b=o2hdh2o+aeN1mz3CdQ6TLXJFVZ+tbKs5VH7Fl4Nw9Gvvf/TNzQEJmoBR03LQfrEBs3 gKNK4oH8rQrxzBJEmbRIQx+VdrWmlMEdzlaPVEgyZDkkSCDQrGBLYCJ8u+x+h/WA+p1H i9OVF9K9SUbjuJaWzFvygVy4iGMCZdy/rhiLMSjdZ/wKcuJPWxjbXCSLy35LuUKW/dEd X1QUJPprWhg4ysydx6vE5khLk1O+I1CmNmobQhHzsOtsK7coaRMfA1a4I/Ebb07D5rgj WYUuJD3p4a84avBCfccDdb2ccqNMKSzuCqwTwklLiyCVskfAHbmCdeA5SBhyLsaNwXpx yzAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=RIDEBwrI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n11si2212215plg.315.2019.06.28.06.55.43; Fri, 28 Jun 2019 06:55:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=RIDEBwrI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726856AbfF1Nzb (ORCPT + 99 others); Fri, 28 Jun 2019 09:55:31 -0400 Received: from merlin.infradead.org ([205.233.59.134]:43412 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726686AbfF1Nz3 (ORCPT ); Fri, 28 Jun 2019 09:55:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; 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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=wYcNOsgWlh/Ecvl7SnDlME5ey9iGCA4wqtawTfBrfA4=; b=RIDEBwrIx6GsUKo+FjlwKVVjj 1P2Fr1cfIItpXAzZ+4UY5WxaxqmQ/o+Z+v/ydg9fsdVq/HkRs5lUvb/Jn9f9J1UbYaJjecj3lcqbm qkgmYhKsDCwxq9KUb0hM9Y3hIyNsBu5RZEhu7WIxoyeouCLclHYxcnTibmqFuabcFth3VkVDuvSAu 3HFy+O+sAvC/6C+qKv8RF61/hezoa2L4qM7/f2/1fF0KpNJnpxbdvqEGRRqvuYPTGLXBiYwBr73wy oBSVr66FtiU41RsooPhKpBhFddbWbY+WLoPhBtSpTveZVc12mMblXdLM/yhaLb003Ni6cA6NZEVSv sWXHf0JEA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hgrKm-0000rK-8L; Fri, 28 Jun 2019 13:54:36 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 8C8642010DE3A; Fri, 28 Jun 2019 15:54:33 +0200 (CEST) Date: Fri, 28 Jun 2019 15:54:33 +0200 From: Peter Zijlstra To: "Paul E. McKenney" Cc: Joel Fernandes , Steven Rostedt , Sebastian Andrzej Siewior , rcu , LKML , Thomas Gleixner , Ingo Molnar , Josh Triplett , Mathieu Desnoyers , Lai Jiangshan Subject: Re: [RFC] Deadlock via recursive wakeup via RCU with threadirqs Message-ID: <20190628135433.GE3402@hirez.programming.kicks-ass.net> References: <20190626135447.y24mvfuid5fifwjc@linutronix.de> <20190626162558.GY26519@linux.ibm.com> <20190627142436.GD215968@google.com> <20190627103455.01014276@gandalf.local.home> <20190627153031.GA249127@google.com> <20190627155506.GU26519@linux.ibm.com> <20190627173831.GW26519@linux.ibm.com> <20190627181638.GA209455@google.com> <20190627184107.GA26519@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190627184107.GA26519@linux.ibm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 27, 2019 at 11:41:07AM -0700, Paul E. McKenney wrote: > Or just don't do the wakeup at all, if it comes to that. I don't know > of any way to determine whether rcu_read_unlock() is being called from > the scheduler, but it has been some time since I asked Peter Zijlstra > about that. There (still) is no 'in-scheduler' state.