Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753366AbeAJSm1 (ORCPT + 1 other); Wed, 10 Jan 2018 13:42:27 -0500 Received: from merlin.infradead.org ([205.233.59.134]:59898 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752624AbeAJSmZ (ORCPT ); Wed, 10 Jan 2018 13:42:25 -0500 Date: Wed, 10 Jan 2018 19:41:44 +0100 From: Peter Zijlstra To: Tejun Heo Cc: Petr Mladek , Linus Torvalds , akpm@linux-foundation.org, Steven Rostedt , Sergey Senozhatsky , linux-mm@kvack.org, Cong Wang , Dave Hansen , Johannes Weiner , Mel Gorman , Michal Hocko , Vlastimil Babka , Jan Kara , Mathieu Desnoyers , Tetsuo Handa , rostedt@home.goodmis.org, Byungchul Park , Sergey Senozhatsky , Pavel Machek , linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 0/2] printk: Console owner and waiter logic cleanup Message-ID: <20180110184144.GR6176@hirez.programming.kicks-ass.net> References: <20180110132418.7080-1-pmladek@suse.com> <20180110140547.GZ3668920@devbig577.frc2.facebook.com> <20180110162900.GA21753@linux.suse> <20180110170223.GF3668920@devbig577.frc2.facebook.com> <20180110182153.GP6176@hirez.programming.kicks-ass.net> <20180110183055.GM3668920@devbig577.frc2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180110183055.GM3668920@devbig577.frc2.facebook.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: On Wed, Jan 10, 2018 at 10:30:55AM -0800, Tejun Heo wrote: > > Why not kill recursive OOM (msgs) ? > > Sure, we can do that too, e.g. marking flushing thread and ignoring > new messages from it, although that does come with its own downsides. Typically we (scheduler) have removed printk()s (on boot) when BIGSMP folks say it creates boot pain. Much of it is now behind the sched_debug parameter, others are compressed. I've also seen other people reduce printk()s. In general reducing printk() is a good thing, its a low bandwidth channel for critical stuff like OOPSen and the like.