Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3466133ybd; Fri, 28 Jun 2019 09:06:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqyLKMN5YWLRCbV0a850HU9hUiIo0Irtsul9pBQnZTHaH7tsKbxLU/LewxzFhESTU+p0zK3P X-Received: by 2002:a17:902:d915:: with SMTP id c21mr12691066plz.335.1561738002392; Fri, 28 Jun 2019 09:06:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561738002; cv=none; d=google.com; s=arc-20160816; b=cHrbvRykHvo12EPX593FjKqYnBNTQRIS4rieICTfIcB/4RCgTuZWzxgJOFBqceUgGd J7Ffn/4TFTgyTz68aBBPSmD1866buodTh4JYt8IrffKOH9ptCCgs5GCxgCTq43HK8wcz AANZw/NBU3cdlO7uzEIX50ewzPqTVeKMu5wpb6qUjI9rmjJn89tGbQqb1KkHj3+H+OKe F4pME7dHx1Pb4Cnd1miaNpb/OVxH54NUhuk6R26meSHoZ5mSiAf83K9ciH2/ZaN+RNwd T193EYzKUINYulDv6v5yvI78OtIGrEDl4pKNrJ0d+M4E0qM+z3f0C0pyaaWB4OOrUYCx O1ZA== 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=afW446socrCTj7b00xQ9nuN6qxk9wXvs1a9518imP1M=; b=QRYMoBILX8Rw+8VwpVfuxgPf02qy3WCqu31uPgsI9dQsswNLTQmb1JMJxXqgaY9Aij wWnVtRRmyeKVwY9CmH+P2aSAq2HlY3YzskcOgrV5nK7ljoBgPmgNBpzYh1FheKDQLQwU 9oGk5QTJQGyHkqd1L72prThEKQm2P88XrGCgFcUDnZl7Xi0lGlZRGu0DanUf5mn8rydO qoLfLMItf8Dh8Fy7xFiMVYLp9xt51SCj9iXKGk4mVOdpHoDfV7ScRfV/PctlTYkeBriF nFGCRrU8LbrZO/P3aLslijMWb1K5mUxgCtv+hxWfnE4182l2qsCscEDe2yOD+zr3jBAS dayw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=xXfwBtzV; 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 f26si2782891pfd.193.2019.06.28.09.06.13; Fri, 28 Jun 2019 09:06:42 -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=xXfwBtzV; 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 S1726781AbfF1QEn (ORCPT + 99 others); Fri, 28 Jun 2019 12:04:43 -0400 Received: from merlin.infradead.org ([205.233.59.134]:44642 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726542AbfF1QEn (ORCPT ); Fri, 28 Jun 2019 12:04:43 -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=afW446socrCTj7b00xQ9nuN6qxk9wXvs1a9518imP1M=; b=xXfwBtzVHV3OzDxxlaOAd+2up 0b4fUklmXhVyeDeWZ4T4SRovDVQaXhkNThCaManBZ6/gVcr72u7zTKyuJTpUVgQoKHinX1ms9hekl xlpxXc6i3aoxb+c+8V6hm7AqTefoLF08RRUwQRbbtZeVPFQpdYi8oCOYHfsdMwkAuFo7PwR7rmplM Xuy/o6qESXUY8cwDF1sjB65rt71S1bPckGzI99IicBSIeqUjMOplYvQuh2gKcLULi9GOv25WB9V7F Ihgfh8o84JOJri0fhV4Njmz8yXWK2+QukK1+9u1wJQbjz7puU0LCX/koOLb0YLphvHTTGi5KBoljt LzV6sH16Q==; Received: from [31.161.200.126] (helo=worktop.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hgtME-0001dw-9L; Fri, 28 Jun 2019 16:04:14 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 6909D9802C5; Fri, 28 Jun 2019 18:04:08 +0200 (CEST) Date: Fri, 28 Jun 2019 18:04:08 +0200 From: Peter Zijlstra To: "Paul E. McKenney" Cc: Scott Wood , 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: <20190628160408.GH32547@worktop.programming.kicks-ass.net> References: <20190627153031.GA249127@google.com> <20190627155506.GU26519@linux.ibm.com> <20190627173831.GW26519@linux.ibm.com> <20190627181638.GA209455@google.com> <20190627184107.GA26519@linux.ibm.com> <13761fee4b71cc004ad0d6709875ce917ff28fce.camel@redhat.com> <20190627203612.GD26519@linux.ibm.com> <20190628141522.GF3402@hirez.programming.kicks-ass.net> <20190628155404.GV26519@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190628155404.GV26519@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 Fri, Jun 28, 2019 at 08:54:04AM -0700, Paul E. McKenney wrote: > Thank you! Plus it looks like scheduler_ipi() takes an early exit if > ->wake_list is empty, regardless of TIF_NEED_RESCHED, right? Yes, TIF_NEED_RESCHED is checked in the interrupt return path.