Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp508451imm; Mon, 1 Oct 2018 13:38:42 -0700 (PDT) X-Google-Smtp-Source: ACcGV60xtSxqWRJXkDCevPh0v3akDhA07da3hp+AVLkv63IAG8nfPOyd8anST+syMOM+CPHv+43S X-Received: by 2002:a63:415:: with SMTP id 21-v6mr11796260pge.327.1538426322529; Mon, 01 Oct 2018 13:38:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538426322; cv=none; d=google.com; s=arc-20160816; b=MAq5UKOJUs4glnMcJqQUU3NASzorBXWQ78TVgz3XAButB0TOepQxD8WAQviy+6RlhC NpBSyjTnsoL95SmEWn1RSA6bU6bHQacEPPnxowVgwELhaq5oRYoV7HQA+YQkm57fFkbJ cHpCH+PgeoF4PlbRgBksHOHYxCznZs+MO00vk32AOL0mgNtS+IQyic2GiFzI9Dl7v4aB 4Opjg6cf+btaFmBTc31jCVmRzm8zvJ920+L/l+7CsBAIWCRloHg9gvjH2UxxuoMAUAHS bZYrhYjpMpUUu0jlliRpd+E93NLLU0YFoP5cCyxw1xznHooD26LZ3Labjcrun9AHx52q 4how== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=enkC4V+RIlBzOSlDGA/RikW1FUpgG3Y5CNYd7+Ob46Y=; b=QxtSQTGLbC/AKOPwSpHJwqWCXxLivbvEG2aGyIJryNehlW/ch26X/PmiX1sACs0FzK smxdfrditxE7Vriq9RzSAaGVYffwMfD02YXOdS0LEP87qs1wcPNbRsQweGFyAA1ylOdQ d3LlqUsu2beeT5szvZt4Fna7A8oUS725wJRK74PWRfE9l3PwEd3bk03maG7rlJw/Rlud CmNBvQuZOc5zTPwFLj9iw5loSUyfnwCn1mvG0PV/9XnuwGpjrik+MAGe0L5CnhziHvsd vmYK74sKWe8mfWqdLukqF0QNLKQOnEk1+HAPN30G4TbFHytzjafPh500OK0xAerzo4kz s8tA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=KWrTgwcd; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y2-v6si13676776pli.330.2018.10.01.13.38.26; Mon, 01 Oct 2018 13:38: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=pass header.i=@google.com header.s=20161025 header.b=KWrTgwcd; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726321AbeJBDRS (ORCPT + 99 others); Mon, 1 Oct 2018 23:17:18 -0400 Received: from mail-it1-f174.google.com ([209.85.166.174]:51859 "EHLO mail-it1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726149AbeJBDRS (ORCPT ); Mon, 1 Oct 2018 23:17:18 -0400 Received: by mail-it1-f174.google.com with SMTP id 74-v6so205186itw.1 for ; Mon, 01 Oct 2018 13:37:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=enkC4V+RIlBzOSlDGA/RikW1FUpgG3Y5CNYd7+Ob46Y=; b=KWrTgwcdc6slpDH2xxLg7drAqelQ7NR5IOFlJpD4oDeQ99pyBqhA0qoVj3YOXyjxVs 7IdsGoOX3QDtoEBE1Pdh/gJXaMQoHVCva2kshw+vVkVL0zVk1XLGc///257KPalJNPp3 qW3EDvAZnSRYGef8mHWozelYw6SH0TCMGgb18FF50qqnyiV5eZw/GIJjD3VcxcbAgXMB 86P5PFH55MY82gUTenz1OmerOJxLzKixkXumJ5uc8M9lgVyp/l5OJmYsgpTrOhfRymb+ KSrPBBdU9sn4GLZLEz12ta3Z6Jdb5Hwf1ZXGEKiQhgt7U0OgbtS7j7G7DPjsoCTrGlGv p8zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=enkC4V+RIlBzOSlDGA/RikW1FUpgG3Y5CNYd7+Ob46Y=; b=svZ2rMpmGQuGwikeJoKphzltF2J0D5Aez5lC8nrNhR/dR9frpI2ZpYKAaevPt/Md4c uF/dA3OmAMxJP36Pb8A5nvhTiPyZg7KyZ1ksl9UCAe0N6Z16tDV2E+VUyde6ajQBBb6C 5v4FDDmLaYUL7BXPCiUwoy1+dMc6QuwcqDz+uIfemdsH5ju77kZobzsX6pAA9QGZIbQQ RIK+wjgHfaMuUSZOZReSup0IClMazIJQ0f9u4FVP80SNjSGADIac5iOqoXEaOiEytPYn mDJCSf2EUlMDZy1m7rr2HRqUYQfE4ZvtaSQfBzfCG68zoRCE8X9a6CjB6pbRf6MJWFid RAIw== X-Gm-Message-State: ABuFfogbDwoTUHlktUkA94no8uEFpj/ZU5VtGQrBnYO07ufUjPS9X1QX 9QJPBqkb2xcv67pUaXkeil3XdlyIaRFE83XPm7CinA== X-Received: by 2002:a24:2744:: with SMTP id g65-v6mr7574088ita.47.1538426262597; Mon, 01 Oct 2018 13:37:42 -0700 (PDT) MIME-Version: 1.0 References: <20180927194601.207765-1-wonderfly@google.com> <20181001152324.72a20bea@gandalf.local.home> In-Reply-To: <20181001152324.72a20bea@gandalf.local.home> From: Daniel Wang Date: Mon, 1 Oct 2018 13:37:30 -0700 Message-ID: Subject: Re: 4.14 backport request for dbdda842fe96f: "printk: Add console owner and waiter logic to load balance console writes" To: rostedt@goodmis.org Cc: stable@vger.kernel.org, pmladek@suse.com, Alexander.Levin@microsoft.com, akpm@linux-foundation.org, byungchul.park@lge.com, dave.hansen@intel.com, hannes@cmpxchg.org, jack@suse.cz, linux-kernel@vger.kernel.org, linux-mm@kvack.org, mathieu.desnoyers@efficios.com, mgorman@suse.de, mhocko@kernel.org, pavel@ucw.cz, penguin-kernel@i-love.sakura.ne.jp, peterz@infradead.org, tj@kernel.org, torvalds@linux-foundation.org, vbabka@suse.cz, xiyou.wangcong@gmail.com, Peter Feiner Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000ea5825057730c6b2" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --000000000000ea5825057730c6b2 Content-Type: text/plain; charset="UTF-8" On Mon, Oct 1, 2018 at 12:23 PM Steven Rostedt wrote: > > > Serial console logs leading up to the deadlock. As can be seen the stack trace > > was incomplete because the printing path hit a timeout. > > I'm fine with having this backported. Thanks. I can send the cherrypicks your way. Do you recommend that I include the three follow-up fixes though? c14376de3a1b printk: Wake klogd when passing console_lock owner fd5f7cde1b85 printk: Never set console_may_schedule in console_trylock() c162d5b4338d printk: Hide console waiter logic into helpers dbdda842fe96 printk: Add console owner and waiter logic to load balance console writes > > -- Steve -- Best, Daniel --000000000000ea5825057730c6b2 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIS7QYJKoZIhvcNAQcCoIIS3jCCEtoCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg ghBTMIIEXDCCA0SgAwIBAgIOSBtqDm4P/739RPqw/wcwDQYJKoZIhvcNAQELBQAwZDELMAkGA1UE BhMCQkUxGTAXBgNV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