Received: by 10.192.165.156 with SMTP id m28csp2720270imm; Sun, 15 Apr 2018 07:36:21 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+5Fuhc2A1qJPHNgxGlXsw6dFnEBGZysNdhcKJxMYhdOF+PsfnYmOZuMVafKMBbO1IAsV7o X-Received: by 10.98.209.92 with SMTP id t28mr10393399pfl.249.1523802981909; Sun, 15 Apr 2018 07:36:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523802981; cv=none; d=google.com; s=arc-20160816; b=SPy9CmsVyVUQXpa8uzedBM3v8KaIzOr+y51SfpsEAIUC0L6j+vuuXLar0e08v3z3Ni oLDfvMc8H4A6x9mqx26h4R3ZOqVnz1j6cn3Y9+KfO3Nq9NY3kugPdElJV7HJqnyiqflO Nirppahu5DUilgmZcZf2IZ1lVpRDp4DmvvhZJWSS3+vVhjHuqklrz1P6YZvCbcF5T8wY q0vSuvHjQ/RcP48E3xOroWRD/cUK41xTn70MNimNAEH7t6Ahr3SXkWVbRbN1a14dpF3b 0GVbeyXR7CJRESUOiIwDKQx6OiLjcux8UXZcbPCX5mVhpWjru9w4yLUhuhAOOM7BzpGo av7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=J9sWFwLIEM5FnjJfJzkISTppM88mKl9CQShom75g6aM=; b=WSxXXletjM1x7lbZEBPQ0N1DLwzsEAmBmInG4EGvZ6/wS6HZXl0JHrRID2h8EY9VMQ poO/wnfR2dZoPZ7ovj/D+q0NV08wY7B+vBqxPGRZ+tYnCIPkT0wLW/ehrFquSH2FvlBo EmzsWa6ewcsYgb8XzkTMcagJtbwJ2Ea+00MFcKUpu2pKj3x+HKJ1rXkak7lguzUOLOei 31L+xoyqU+yvhDqJ6D/iPoSeko4eOPfa638FY3IrZkFWwqwQV4/jpUd6hSGQfXqj8Ibv 1jeV3iWvdj5HgYavNRvjisrwMy/nnI0Yx+CUQPVYXGM4IjUCj3GSGOfcvIERfp6/x/7H DU0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=YNCIHeyd; 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=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f64-v6si2710097plf.514.2018.04.15.07.36.05; Sun, 15 Apr 2018 07:36: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=pass header.i=@microsoft.com header.s=selector1 header.b=YNCIHeyd; 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=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752524AbeDOOe6 (ORCPT + 99 others); Sun, 15 Apr 2018 10:34:58 -0400 Received: from mail-co1nam03on0139.outbound.protection.outlook.com ([104.47.40.139]:2704 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751890AbeDOOe4 (ORCPT ); Sun, 15 Apr 2018 10:34:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=J9sWFwLIEM5FnjJfJzkISTppM88mKl9CQShom75g6aM=; b=YNCIHeydhC0eWmv+0mRCkiePyNcjqHnbeP7J2ZZNrQFgM/4sz0vp7vBWpqMPfC9nyoDiz+Ziu0y2/WoaEXdyi20RCI/5sWs3mUeHzFb3stxlBVZ7c3YlNLrTUAfbrO+fzGgubIa2fZGo2DH6s0inS6RkQp9CVo6AmtdrOfi+lhM= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB1047.namprd21.prod.outlook.com (52.132.128.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.715.4; Sun, 15 Apr 2018 14:34:52 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059%2]) with mapi id 15.20.0715.004; Sun, 15 Apr 2018 14:34:52 +0000 From: Sasha Levin To: Petr Mladek CC: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Steven Rostedt (VMware)" , "akpm@linux-foundation.org" , "linux-mm@kvack.org" , Cong Wang , Dave Hansen , Johannes Weiner , Mel Gorman , Michal Hocko , Vlastimil Babka , Peter Zijlstra , Linus Torvalds , Jan Kara , Mathieu Desnoyers , Tetsuo Handa , Byungchul Park , Tejun Heo , Pavel Machek Subject: Re: [PATCH AUTOSEL for 4.15 019/189] printk: Add console owner and waiter logic to load balance console writes Thread-Topic: [PATCH AUTOSEL for 4.15 019/189] printk: Add console owner and waiter logic to load balance console writes Thread-Index: AQHTz5gTpP6JXfT76UOTL5UYuogqGqP4Fq6AgAnX8IA= Date: Sun, 15 Apr 2018 14:34:52 +0000 Message-ID: <20180415143447.GL2341@sasha-vm> References: <20180409001637.162453-1-alexander.levin@microsoft.com> <20180409001637.162453-19-alexander.levin@microsoft.com> <20180409081535.dq7p5bfnpvd3xk3t@pathway.suse.cz> In-Reply-To: <20180409081535.dq7p5bfnpvd3xk3t@pathway.suse.cz> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR2101MB1047;7:8IWYML0yhMUn991k8MJRqL40w6UkXqltFuyBd0Q1aZxNgzZAdohZLe4oFwo0W1qHmmj9kuM1SwrWhDH5Cm+X3ZlQPQ6NDBNByHLfN4kF0Qa/ka+Na0XQcInXCVloLDr9r+PmjyiDfJh/uvv02J44BPbfrgOb6Ccc8dA49ZrwQ4mHFYO5g2WjxWw6H0s+5ZRDrDBEWyEj+WA6Yr99kYdTrsw8oJBn989nn9XzdJzjXOKqQ6+GLIO5wK/NRqdetvRE;20:NBOKk7wXGZO61WeYsvPN+JmkSLl5Xc9jVqYThkYLexVfpmBvUj2rF+hOUCeBTxdk6JfWz5gbi2ezIJ3y69jQg7gpm8/g6BzCmSj5P6BUibfdeM2BqpF2h8YWzSt8pBaS5MVCyDR1AcC5TtPEBwW20IhaWVUKxoA8Z1ucdIbPtmw= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:DM5PR2101MB1047; x-ms-traffictypediagnostic: DM5PR2101MB1047: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231232)(944501347)(52105095)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041310)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:DM5PR2101MB1047;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB1047; x-forefront-prvs: 0643BDA83C x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916004)(376002)(39860400002)(346002)(39380400002)(396003)(366004)(199004)(189003)(377424004)(68736007)(5660300001)(97736004)(25786009)(26005)(2906002)(10090500001)(3846002)(86362001)(575784001)(6116002)(478600001)(2900100001)(10290500003)(229853002)(14454004)(72206003)(6486002)(105586002)(66066001)(7416002)(3660700001)(33656002)(3280700002)(8936002)(81166006)(81156014)(53936002)(1076002)(54906003)(9686003)(6512007)(8676002)(99286004)(76176011)(39060400002)(102836004)(59450400001)(86612001)(476003)(33896004)(11346002)(446003)(6506007)(6246003)(305945005)(33716001)(7736002)(4326008)(22452003)(486006)(6436002)(186003)(5250100002)(106356001)(316002)(6916009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB1047;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: wR89cWLlK1mdK1hJH6B26l9zFTWVcpUZW7snBYUrZpFlD/fGa/dLxYvcc0TFT4xfZCnO/7sf2U8J1XF5TIUbytJ6oPAAFF7sNKoHKW3nFSMkanU4G7lA+F5IZlSQyboc+u7qea3yvT1KfLUNmNrDGJWaW8irOlwVHpo3G9ESzs8/otL/fTkiRe/vixBsXN/K spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: <95004968C9AACD4EB8F524BAB47FDE97@namprd21.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: e1d4dd8f-e37b-40f3-5ab7-08d5a2de0ce4 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: e1d4dd8f-e37b-40f3-5ab7-08d5a2de0ce4 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Apr 2018 14:34:52.3603 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB1047 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 09, 2018 at 10:15:35AM +0200, Petr Mladek wrote: >On Mon 2018-04-09 00:16:59, Sasha Levin wrote: >> From: "Steven Rostedt (VMware)" >> >> [ Upstream commit dbdda842fe96f8932bae554f0adf463c27c42bc7 ] >> >> This patch implements what I discussed in Kernel Summit. I added >> lockdep annotation (hopefully correctly), and it hasn't had any splats >> (since I fixed some bugs in the first iterations). It did catch >> problems when I had the owner covering too much. But now that the owner >> is only set when actively calling the consoles, lockdep has stayed >> quiet. > >I do not think that this is a material for stable backports. Yes, it >is a fix but it is not trivial. There are already 3 follow up commits: > >c162d5b4338d72deed6 ("printk: Hide console waiter logic into helpers") >fd5f7cde1b85d4c8e09 ("printk: Never set console_may_schedule in > console_trylock()") >c14376de3a1befa70d9 ("printk: Wake klogd when passing console_lock owner") > >One is just a code clean up but the other two are changes/fixes that >should go together with Steven's patch. > >These changes tries to prevent softlockups. It is a problem that is >being discussed for years. We are still waiting for feedback to see if >more changes will be necessary. IMHO, there is no reason to hurry and >backport it everywhere. > >Best Regards, >Petr I'll remove it, thanks Petr!=