From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by kanga.kvack.org (Postfix) with ESMTP id AF72C8E0161 for ; Wed, 12 Dec 2018 21:27:08 -0500 (EST) Received: by mail-pg1-f197.google.com with SMTP id x26so297698pgc.5 for ; Wed, 12 Dec 2018 18:27:08 -0800 (PST) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id n22sor725860pfg.51.2018.12.12.18.27.07 for (Google Transport Security); Wed, 12 Dec 2018 18:27:07 -0800 (PST) Date: Thu, 13 Dec 2018 11:27:03 +0900 From: Sergey Senozhatsky Subject: Re: 4.14 backport request for dbdda842fe96f: "printk: Add console owner and waiter logic to load balance console writes" Message-ID: <20181213022703.GD4860@jagdpanzerIV> References: <20181212081034.GA32687@jagdpanzerIV> <20181212133603.yyu2zvw7g454zdqd@pathway.suse.cz> <20181212135939.GA10170@tigerII.localdomain> <20181212174333.GC2746@sasha-vm> <20181212214337.GD2746@sasha-vm> <20181212215225.GE2746@sasha-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Daniel Wang Cc: Sasha Levin , Sergey Senozhatsky , Petr Mladek , Sergey Senozhatsky , Steven Rostedt , stable@vger.kernel.org, Alexander.Levin@microsoft.com, Andrew Morton , 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 , Mel Gorman , mhocko@kernel.org, pavel@ucw.cz, penguin-kernel@i-love.sakura.ne.jp, Peter Zijlstra , tj@kernel.org, Linus Torvalds , vbabka@suse.cz, Cong Wang , Peter Feiner On (12/12/18 16:40), Daniel Wang wrote: > In case this was buried in previous messages, the commit I'd like to > get backported to 4.14 is dbdda842fe96f: printk: Add console owner and > waiter logic to load balance console writes. But another followup > patch that fixes a bug in that patch is also required. That is > c14376de3a1b: printk: Wake klogd when passing console_lock owner. Additionally, for dbdda842fe96f to work as expected we really need fd5f7cde1b85d4c. Otherwise printk() can schedule under console_sem and console_owner, which will deactivate the "load balance" logic. -ss