Received: by 10.192.165.148 with SMTP id m20csp1943589imm; Thu, 3 May 2018 07:54:21 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpfqHwcRI7rxoxDc0/pOOnEFCYnKiH5JlutJH77f3pdmAGo58GjHf5gFsYFGCvsWm/32bGz X-Received: by 2002:a17:902:6b45:: with SMTP id g5-v6mr9724118plt.67.1525359261498; Thu, 03 May 2018 07:54:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525359261; cv=none; d=google.com; s=arc-20160816; b=zWJh57A2nzU3R+g9O3YbbpyNnQIAVqIfDjnjsCcJlRRsXARsbpd5UqI7Lz3BRY/bWU zb5E/mcwQOuVSrNryXMci4p6MgplFrjAv3JVAz1hT3f+UAwEpURAR2FEFcI4NhzyEpvp TTtZzdk4BlTULOjVnC3uPwXypUXap6uAUhaxKhz0paorsfaWLdzQOsc+VbAyGZ3JKw/u 6BuNp2BFOwiSJhOARL2TLBguAm8G6HVzzyaS+6cuIkLmL6+ehOWiFGnKGPg5pqNsLIJk 7qb6N/Br//U8xK+q6HlDmbo7hOxMPdUct87HeX8es9ihMNDDdb/x97PwLrDrcaw9YRxx VziA== 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=TxEvQ91Pyf2qPpKw4x7t0rQ9GzALx/p7KGQ0YhYOxa8=; b=JSIedY+zjDB5Kepg61i8ql1wqAN9NW6LY2T7/IA5HPQzGHuxKOR4eCYTZDXNN6SiyZ /C+nYAIECLmzBD/ZXg5ofMyoWmYY8uC/jv/Mh+nUL+gUqzQ4Ady+y+dk++gjse4rsXp3 lELeO46MbQ1EaARBirCF3RKZuF9cxVWPvkfNTOe1RK7Ez6nqDEthApsbk6L4QtztCZoH S6OB/jR+tc/i+73KSabeROBcFm6JRuJ3NUsmK/hZmLDCz/MwVsLMNwq7XfQuHgkEmFIz LqvTf94r/w0aj5tU2tQyj/Y3j9EM8/Xp+/RFv8mYJ3ZM2vi/X/8W9R5VMF9/OKpFs6fx Aysg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@infradead.org header.s=merlin.20170209 header.b=qS9JqrpQ; 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 z1-v6si13545224plb.558.2018.05.03.07.54.07; Thu, 03 May 2018 07:54:21 -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=neutral (body hash did not verify) header.i=@infradead.org header.s=merlin.20170209 header.b=qS9JqrpQ; 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 S1751403AbeECOwa (ORCPT + 99 others); Thu, 3 May 2018 10:52:30 -0400 Received: from merlin.infradead.org ([205.233.59.134]:43670 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751079AbeECOw1 (ORCPT ); Thu, 3 May 2018 10:52:27 -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=UUgpRGXO3sZmJb526k9E+y78x11itq/4FhBHRlW+PwM=; b=qS9JqrpQC53H+G+mxaBpm47OZ jFbjS1FwjW6+6YwqejBsD7MTMREeuzj600/UQjInq8NjS8sgn9j/Hv8AuYpYe18bY2LVsNzY4cYNS 23fCUSP1HPoPqaoUs1C7kCQIwnmIECak+tewrFe2h9BMjUukMwNW19aoGRJU89zq9Cg4mtwvd3dqo /331musguDZ6aQJWRP971mkEvVmJfNrTc3OeNn0Z90m6afbal/IdydOIE8ATRs70PlAj5uUAUtiiU X1VNPFzZMo/IBpuU7dQZ9kne4XXLGqwky16uW/nhM0bEOlpgVcO68VfviHg3YD2W9KPKeiwZEp3xo /C34PUOYg==; 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 1fEFao-0005dP-EF; Thu, 03 May 2018 14:52:22 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 245412029F873; Thu, 3 May 2018 16:52:21 +0200 (CEST) Date: Thu, 3 May 2018 16:52:21 +0200 From: Peter Zijlstra To: "Paul E. McKenney" Cc: Mike Galbraith , Matt Fleming , Ingo Molnar , linux-kernel@vger.kernel.org, Michal Hocko Subject: Re: cpu stopper threads and load balancing leads to deadlock Message-ID: <20180503145221.GE12217@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> <20180503143941.GH26088@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180503143941.GH26088@linux.vnet.ibm.com> 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 07:39:41AM -0700, Paul E. McKenney wrote: > Huh. > > No, RCU_NONIDLE() only works for idle, not for offline. Oh bummer.. > Maybe... Let me take a look. There must be some way to mark a > specific lock acquisition and release as being lockdep-invisible... But I suspect it flags a real issue. Shutting it up isn't the issue as such. There could be a concurrent sched domain rebuild while we do this setup, and if we free that domain while we're looking at it, bad things happen. ... I wonder what brought this failure to pass now. This code has been like this a for a long time.