From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753808AbeAKHgZ (ORCPT + 1 other); Thu, 11 Jan 2018 02:36:25 -0500 Received: from mail-pf0-f175.google.com ([209.85.192.175]:41762 "EHLO mail-pf0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751438AbeAKHgY (ORCPT ); Thu, 11 Jan 2018 02:36:24 -0500 X-Google-Smtp-Source: ACJfBotCMYGPgjBumBqBsf2LzGTf0pQjiqvVAcD1SyHPWaTL874astdVLZ5E80LZE/RWZ7PsYip0VQ== Date: Thu, 11 Jan 2018 16:36:18 +0900 From: Sergey Senozhatsky To: Mathieu Desnoyers Cc: Tejun Heo , Petr Mladek , Linus Torvalds , Andrew Morton , rostedt , Sergey Senozhatsky , linux-mm , Cong Wang , Dave Hansen , Johannes Weiner , Mel Gorman , Michal Hocko , Vlastimil Babka , Peter Zijlstra , Jan Kara , Tetsuo Handa , rostedt@home.goodmis.org, Byungchul Park , Sergey Senozhatsky , Pavel Machek , linux-kernel Subject: Re: [PATCH v5 0/2] printk: Console owner and waiter logic cleanup Message-ID: <20180111073618.GA477@jagdpanzerIV> References: <20180110132418.7080-1-pmladek@suse.com> <20180110140547.GZ3668920@devbig577.frc2.facebook.com> <20180110162900.GA21753@linux.suse> <20180110170223.GF3668920@devbig577.frc2.facebook.com> <532107698.142.1515609640436.JavaMail.zimbra@efficios.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <532107698.142.1515609640436.JavaMail.zimbra@efficios.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Hi Mathieu, On (01/10/18 18:40), Mathieu Desnoyers wrote: [..] > > There appears to be two problems at hand. One is making sure a console > buffer owner only flushes a bounded amount of data. which, realistically, has quite little to do with the "and thus it fixes the lockups". logbuf size is mutable, the number of consoles we need to sequentially push the data to is mutable, the watchdog threshold is mutable... if combination of first two mutable things produces the result which makes the check based on the third mutable thing happy, then it's just an accident. my 5 cents. -ss