Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4200635imm; Mon, 30 Jul 2018 10:18:15 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdruwiIpB3VLDkJAkpS7pCD3rFak+WR2tL0lVKCnXn31Q7lq/KtXkB3G1ZlW3xImMCFic1w X-Received: by 2002:a65:6086:: with SMTP id t6-v6mr17440030pgu.424.1532971095637; Mon, 30 Jul 2018 10:18:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532971095; cv=none; d=google.com; s=arc-20160816; b=TR2MIsr0XIC55L7VHypwOFfkbLpimXoQeNCEq0PLS9MunGMfiXAg2wcgmOFgRVju2j Fyk5LTohiyi55WOHbCA/f+UA7v4b74HcN+qjml0J4t3uMgvP7kTROaAiVX2CmQwiUDhO q+zZo/AZia76W/gbSfirys1YanNQBUJMvTGinTV5dcbhLjZLwikc7G1waMQB8MuaSja5 bKrR86XYaUhoZrpa9WaYyAtWa/gsCtIe8kQSyht1DX/c4f0YCuUaAG3LjWVoaX9rbX5i WXKPgVXeSEpOhShmsE+32/YJXh1wJAPv8PS451sgUBRgIcbOF6WXr47Wab2DjEvFG12s msGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=vS+Z5cMSjNjqf/ARAwZGgfaOcCSIuOlGmBviza+7/sQ=; b=b+6pT6P6wYX4C1LIfiKquupdzLyLv6qaPq2kD0JlBGJMerB7iOXcqK2q+MXG128Qwp hyQg/SAF8g7DNmFyg4Z1yRwfNYKYIHYpDD4YC6il6Pz/mBY/ZRJTEtkrlNewoO3PcBLb mWUgbqlAD6trgF8Z8gtQlLyu4y9QsTM8+zX2S5vB5IHWoEqxXZs841xQ6H+x9EK/BYgS gVKD2/CA1VY7urnoHoSbAf0kHY1FfWnXsf8EGQkUMc1oPbeP/db03VYzS8QBkTuZ7sxL ZOW+GKCQ8lTZzoxrByXM9XrJhsgroQ7QOtPb3F6DXwKy2oxwA0Z3Pz+BGvxn7Iw4XwUr uw7A== ARC-Authentication-Results: i=1; mx.google.com; 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 g202-v6si11614984pfb.336.2018.07.30.10.18.00; Mon, 30 Jul 2018 10:18:15 -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; 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 S1730802AbeG3SwN (ORCPT + 99 others); Mon, 30 Jul 2018 14:52:13 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:57056 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726782AbeG3SwN (ORCPT ); Mon, 30 Jul 2018 14:52:13 -0400 Received: from p4fea5a5a.dip0.t-ipconnect.de ([79.234.90.90] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fkBmD-0004Go-0Z; Mon, 30 Jul 2018 19:16:09 +0200 Date: Mon, 30 Jul 2018 19:16:08 +0200 (CEST) From: Thomas Gleixner To: Sodagudi Prasad cc: Peter Zijlstra , Sebastian Andrzej Siewior , isaacm@codeaurora.org, matt@codeblueprint.co.uk, mingo@kernel.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, pkondeti@codeaurora.org, stable@vger.kernel.org Subject: Re: [PATCH] stop_machine: Disable preemption after queueing stopper threads In-Reply-To: <109d0e70606ccd34861a80525d6d11aa@codeaurora.org> Message-ID: References: <1531856129-9871-1-git-send-email-isaacm@codeaurora.org> <20180724062350.nlem2suuy5wlxpts@linutronix.de> <20180730112140.GH2494@hirez.programming.kicks-ass.net> <109d0e70606ccd34861a80525d6d11aa@codeaurora.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 30 Jul 2018, Sodagudi Prasad wrote: > How about including below change as well? Currently, there is no way to That would be a completely separate change. > identify thread migrations completed or not. When we observe this issue, the > symptom was work queue lock up. It is better to have some timeout here and > induce the bug_on. BUG_ON() is wrong. Why kill the thing if there is at least a theoretical chance that stuff can continue half baken so you can get more info out of it. The back trace is pretty much uninteresting. Thanks, tglx