Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp314191ybi; Sat, 29 Jun 2019 11:22:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqwdC32a9DsidX5K5zFZQFBfZzxvEmTVUfpdPHVDOrbRq0uDLp5BfAm5ou6XMYQajb4m95Kx X-Received: by 2002:a17:902:2ac8:: with SMTP id j66mr10585963plb.273.1561832532591; Sat, 29 Jun 2019 11:22:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561832532; cv=none; d=google.com; s=arc-20160816; b=SAu44f5siux3yn7L/y2e0Q8STBkFcnp/C47cQawnv7Mxm+XadmoWP8tji7q6COuewW iF/7FY3YcHRghSRXInCPMhSs9yghweI9RjCTgnHM9SEm3hXLLBeyvK82EgOzEHN89Tqd MdtdxPoqlyOvE5Tu8l6Tbp6b3pIXQ6UOmOgMxcJnW49PZSt3AsKLSxHDnvQn8JnVC73E AQuCYhpS496+Fp9Drma/9f8LNAIsT86DJ8SMSFW26k5YcpYjwOsLOcTpM3oq5Qs17Fru 7sHHSrvCzmuPLWaDY4anGyhlut+kVFWvPFQqFECbDe3eWpg2xWo57c1vED9JO0bJu6dU URHQ== 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=cOuGUeuvXYYHOBYHD3qLjLapejxLIFLy8lgJ6YZYaC8=; b=oy1RIrWRbE0+jEwMagfDul5TwmiUldU5UTZrQ7CEHnfbG3LFZJfxhtJeakMM7wEjRG FVgpj07ME2J7p39P/+XwlSnEN2+FukmOpO+nKgXEHcOkEZTDtLUjVIDLZX05o4ijcRXR BPBrDSbN3kxaYHXC1g5IO0Wv4Bhv1yWC5V/+UawE2AS9purreURqMlgduzSx3v2mHTFZ v0T3X0y2jbk12Q7ArjYnWGvQmCC7X/e4rcW+/ZzScbrqppQMoq6mNl4S6zang4L0lZ2S BJp6Yp2hxoe9bE1/bQ57t8p+G+MnNIe8f7+cbTBadfigh7+46pvqb/AnKD6IA9SP67GA eluA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Vc8I/IQc"; 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 p93si5331450pjp.66.2019.06.29.11.21.44; Sat, 29 Jun 2019 11:22:12 -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=pass header.i=@amarulasolutions.com header.s=google header.b="Vc8I/IQc"; 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 S1726909AbfF2SVj (ORCPT + 99 others); Sat, 29 Jun 2019 14:21:39 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:44873 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726864AbfF2SVj (ORCPT ); Sat, 29 Jun 2019 14:21:39 -0400 Received: by mail-wr1-f66.google.com with SMTP id r16so7627764wrl.11 for ; Sat, 29 Jun 2019 11:21:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=cOuGUeuvXYYHOBYHD3qLjLapejxLIFLy8lgJ6YZYaC8=; b=Vc8I/IQcDMsgrM97xjkT289KsEWPVOydDdA3LMxpz53y7k7on8Qe6YP6x5a7Q7s7DQ fq8sn95P7OsHdMkHO37MR3IxrqSRdBOqPAdW2nM+YOzEVSewvtbtfvntUb9b9D6nyUKi 4+mPOafSRzFlPvK9UGLi71zUDQPc+q+jXNjlg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=cOuGUeuvXYYHOBYHD3qLjLapejxLIFLy8lgJ6YZYaC8=; b=CRaHQMxwApfXsPLKKhOnNJny97M5PANt29FjsbkwZwhG9ihtDK1sSCd5r7YclpAwm3 MHZ9dItRxXk2IToaAOK51khLO2Lr7t4fl+IpmGTfr21SNUIrK59ZNBsf9vMbwUm4Qr6C HBOvjxuiStbMiTv8dXRtlF3bFDvwl+piD0bW8l29W506jj8BzQ9GK6Od7ZFJA1OAPGz3 wJMAEidcf1UKkqq1ZY8KdCVpyb9RvHuDAQsKMzi3AuBnpB7P95Sqlfaf14MVPh0QQpDs IFBM6HhWlhns0iMJUgXwvOsGRZTFN5qq6JApwvWHtC0R6WvnwXh7fTKEavLUxS58l5SG F7kA== X-Gm-Message-State: APjAAAVPZyLQnuFX/Jzj62cXjGnGLmXw1ROrO+rPgv1f3yjrt5z6IMvZ JxVfynB9SUgz22BwCenxISFU0Q== X-Received: by 2002:adf:e384:: with SMTP id e4mr2439057wrm.308.1561832498351; Sat, 29 Jun 2019 11:21:38 -0700 (PDT) Received: from andrea ([93.90.167.233]) by smtp.gmail.com with ESMTPSA id h84sm6945311wmf.43.2019.06.29.11.21.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Jun 2019 11:21:37 -0700 (PDT) Date: Sat, 29 Jun 2019 20:21:32 +0200 From: Andrea Parri To: "Paul E. McKenney" Cc: Steven Rostedt , Byungchul Park , Scott Wood , Joel Fernandes , Sebastian Andrzej Siewior , rcu , LKML , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Josh Triplett , Mathieu Desnoyers , Lai Jiangshan Subject: Re: [RFC] Deadlock via recursive wakeup via RCU with threadirqs Message-ID: <20190629182132.GA5666@andrea> References: <20190627181638.GA209455@google.com> <20190627184107.GA26519@linux.ibm.com> <13761fee4b71cc004ad0d6709875ce917ff28fce.camel@redhat.com> <20190627203612.GD26519@linux.ibm.com> <20190628073138.GB13650@X58A-UD3R> <20190628104045.GA8394@X58A-UD3R> <20190628114411.5d9ab351@gandalf.local.home> <20190629151236.GA7862@andrea> <20190629165533.GA3112@linux.ibm.com> <20190629180910.GA3399@andrea> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190629180910.GA3399@andrea> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Remark: we do have code which (while acknowledging that "interrupts are > synchronization points") doesn't quite seem to "believe it", c.f., e.g., > kernel/sched/membarrier.c:ipi_mb(). So, I guess the follow-up question > would be "Would we better be (more) paranoid? ..." should have been "IPIs are serializing" (so all a different "order"...) Andrea