Received: by 10.192.165.148 with SMTP id m20csp1934961imm; Thu, 3 May 2018 07:45:39 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqEK40QfrDT7rnL7rPEVXBoaiGEZ4rVx6kXDf8Y4okEvKDICAWPByIsq/5PZPNQ4hxgBAuc X-Received: by 2002:a17:902:3f83:: with SMTP id a3-v6mr24327727pld.279.1525358739034; Thu, 03 May 2018 07:45:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525358738; cv=none; d=google.com; s=arc-20160816; b=e0QuElBo96yq8vC1cvhdnkgi8o7svTOxn+il6UddO+y57djeD0qzDktmy5zMqRRJ8l MmsuUallND9JYIM9nBBW1uIj+BghXvqew+yaqIvHkEvICWzVt2xLPucx4+3OdEyL4v8S jUzCoB8SnAqfuZcCA0fS6AbyWfUEYaH9aqhRrwlieAu8vGftxQ+1o7ahKrGEzatUFKjt DV2RyX0u0TKgIp9smtsjSbX5t4JVeDC8bx3FVfR9YFyrjYMMPQeacKmika7pDh0090gm Xt7t6CxMDRNCcXd1QUHD5m6iWsAbBmAlT39ii+1qJmKo3ItqLjzJ5r62R7PDaHio6Kzq kdOg== 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:arc-authentication-results; bh=VKjOz2m3xH/m1L4NtQ6xSr78Uu0UM9IgRwMfiaYms90=; b=fQR+drX5aWsucW0q5NTnfkWcl2JBqK7gVi4RIpnPyyA6BY6BVrpBFJ4moy0QKK23Ba 0YE/8oX8yLou5o8KX6vxH83sW865esBQ98TDu7lRclUnKGV3JOzAIUawZUDg46Vv7PJg uMQSAHHesNpmAG0ys0w/YAe+M5XMNamG2MLnF6L378hh4INzqS5v2yIwgymVA2wkI/Dz r6Aui438MpbNDdj4TCTIQjlYznZvtXB8S3z4wWXa3iRT986KojUU7pnxdwi26l7TA3sg q4r81x8RB7tASO2Fp7dvRGW9Qy4m44SVmoF4hinIKK9pBDH8BDjcD8WkUt2xT6X7++Qf vyfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=XGVLqHrU; 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 z5-v6si3151124pln.562.2018.05.03.07.45.24; Thu, 03 May 2018 07:45:38 -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=XGVLqHrU; 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 S1751272AbeECOpF (ORCPT + 99 others); Thu, 3 May 2018 10:45:05 -0400 Received: from merlin.infradead.org ([205.233.59.134]:43614 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750954AbeECOpE (ORCPT ); Thu, 3 May 2018 10:45:04 -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=VKjOz2m3xH/m1L4NtQ6xSr78Uu0UM9IgRwMfiaYms90=; b=XGVLqHrUJlcQaAqhBYrgL4UKV TWGWJACkW9Y9PDq0dbmornIXV8hFxO4NUef8GIZTsscXa7BkJc+qcDR0Ssgi44hxkIPkKn9HIG2AH NKR4YdfQKzZbMK860GsjeEe5RhSLrAnRkRMkeGHNUr5VTX4FCy0nK/HL+VSx7OOf+43xTG3IHo69r lWKPmr+cKLsDwCsbvetoPSCQKKNxHI8WkeFp8z9elRFQZ19xIYwen8xV+UgyeoyRJaC0iJDWc3yxs c8nTqZGDz52NjYduknqC+2NvrKeyVgyvS6SmfEZkZX1OSrMGa3aGNwy7VdSSpXYBLchg3j8jcXhGU eanTKC2pA==; 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.90_1 #2 (Red Hat Linux)) id 1fEFTZ-0005Y8-Ch; Thu, 03 May 2018 14:44:53 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 296782029F874; Thu, 3 May 2018 16:44:50 +0200 (CEST) Date: Thu, 3 May 2018 16:44:50 +0200 From: Peter Zijlstra To: Mike Galbraith Cc: Matt Fleming , Ingo Molnar , linux-kernel@vger.kernel.org, Michal Hocko , Paul McKenney Subject: Re: cpu stopper threads and load balancing leads to deadlock Message-ID: <20180503144450.GD12217@hirez.programming.kicks-ass.net> References: <20180417142119.GA4511@codeblueprint.co.uk> <20180420095005.GH4064@hirez.programming.kicks-ass.net> <20180424133325.GA3179@codeblueprint.co.uk> <1525349542.9956.2.camel@gmx.de> <20180503122808.GZ12217@hirez.programming.kicks-ass.net> <1525351221.9956.4.camel@gmx.de> <20180503124943.GB12217@hirez.programming.kicks-ass.net> <1525354359.5576.1.camel@gmx.de> <20180503135617.GC12217@hirez.programming.kicks-ass.net> <1525357015.5577.2.camel@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1525357015.5577.2.camel@gmx.de> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 03, 2018 at 04:16:55PM +0200, Mike Galbraith wrote: > On Thu, 2018-05-03 at 15:56 +0200, Peter Zijlstra wrote: > > On Thu, May 03, 2018 at 03:32:39PM +0200, Mike Galbraith wrote: > > > > > Dang. With $subject fix applied as well.. > > > > That's a NO then... :-( > > Could say who cares about oddball offline wakeup stat. Yeah, nobody.. but I don't want to have to change the wakeup code to deal with this if at all possible. That'd just add conditions that are 'always' false, except in this exceedingly rare circumstance. So ideally we manage to tell RCU that it needs to pay attention while we're doing this here thing, which is what I thought RCU_NONIDLE() was about.