[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150417.131712.1245246947203158168.davem@davemloft.net>
Date: Fri, 17 Apr 2015 13:17:12 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: tj@...nel.org
Cc: penguin-kernel@...ove.SAKURA.ne.jp, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCHSET] printk, netconsole: implement reliable netconsole
From: Tejun Heo <tj@...nel.org>
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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists