Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965179AbbDUVv2 (ORCPT ); Tue, 21 Apr 2015 17:51:28 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:33961 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965040AbbDUVvZ (ORCPT ); Tue, 21 Apr 2015 17:51:25 -0400 Date: Tue, 21 Apr 2015 14:51:28 -0700 From: Stephen Hemminger To: David Miller Cc: tj@kernel.org, penguin-kernel@I-love.SAKURA.ne.jp, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCHSET] printk, netconsole: implement reliable netconsole Message-ID: <20150421145128.4354fd41@urahara> In-Reply-To: <20150417.131712.1245246947203158168.davem@davemloft.net> References: <1429225433-11946-1-git-send-email-tj@kernel.org> <201504180035.AIJ09349.SOFFHFtLOOQVMJ@I-love.SAKURA.ne.jp> <20150417162826.GB16743@htj.duckdns.org> <20150417.131712.1245246947203158168.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1252 Lines: 30 On Fri, 17 Apr 2015 13:17:12 -0400 (EDT) David Miller wrote: > From: Tejun Heo > Date: Fri, 17 Apr 2015 12:28:26 -0400 > > > On Sat, Apr 18, 2015 at 12:35:06AM +0900, Tetsuo Handa wrote: > >> If the sender side can wait for retransmission, why can't we use > >> userspace programs (e.g. rsyslogd)? > > > > Because the system may be oopsing, ooming or threshing excessively > > rendering the userland inoperable and that's exactly when we want > > those log messages to be transmitted out of the system. > > If userland cannot run properly, it is almost certain that neither will > your complex reliability layer logic. > > I tend to agree with Tetsuo, that in-kernel netconsole should remain > as simple as possible and once it starts to have any smarts and less > trivial logic the job belongs in userspace. Keep existing netconsole as simple as possible. It is not meant as reliable, secure logging. "Those who do not understand TCP are doomed to reinvent it" -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/