Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755214AbcK2TkX (ORCPT ); Tue, 29 Nov 2016 14:40:23 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:52985 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752526AbcK2TkO (ORCPT ); Tue, 29 Nov 2016 14:40:14 -0500 Date: Tue, 29 Nov 2016 11:39:35 -0800 From: "Paul E. McKenney" To: Peter Zijlstra Cc: Petr Mladek , Josh Poimboeuf , Vince Weaver , "linux-kernel@vger.kernel.org" , Ingo Molnar , Arnaldo Carvalho de Melo , "dvyukov@google.com" Subject: Re: perf: fuzzer BUG: KASAN: stack-out-of-bounds in __unwind_start Reply-To: paulmck@linux.vnet.ibm.com References: <20161128215411.fkis7bbimjy4v4j7@treble> <20161129004021.GL3924@linux.vnet.ibm.com> <20161129055241.6dy2dt4q4ptazk2s@treble> <20161129124323.GJ3092@twins.programming.kicks-ass.net> <20161129151004.GU3924@linux.vnet.ibm.com> <20161129162920.GF21230@pathway.suse.cz> <20161129171038.GN3092@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161129171038.GN3092@twins.programming.kicks-ass.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16112919-0028-0000-0000-00000625CAA9 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00006164; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000193; SDB=6.00787007; UDB=6.00380643; IPR=6.00564694; BA=6.00004928; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00013483; XFM=3.00000011; UTC=2016-11-29 19:39:37 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16112919-0029-0000-0000-0000313D85C0 Message-Id: <20161129193935.GE3924@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-11-29_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1609300000 definitions=main-1611290325 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1478 Lines: 34 On Tue, Nov 29, 2016 at 06:10:38PM +0100, Peter Zijlstra wrote: > On Tue, Nov 29, 2016 at 05:29:20PM +0100, Petr Mladek wrote: > > > > > People are very busy polishing the turd we call printk, but from where > > > > I'm sitting its terminally and unfixably broken. > > > > I still hope that we could do better :-) > > How? The console drivers are a complete trainwreck, you simply cannot > build anything sensible ontop of a trainwreck. > > And from what I understood from talking to someone (I again forgot who) > at LPC, the whole reason people were poking at this is that the block > layer (or something thereabouts) prints a gazillion lines of crap when > you attach a stupid amount of devices (through FC or other SAN like > things). > > The way we've 'fixed' that in the scheduler (a fairly long time ago) > when SGI complained about our printks taking too long (because they had > 4096 CPUs), is to simply remove the printks (they're now hidden behind > the sched_debug boot param). > > > In any case, as long as printk has a globally serialized 'log', it, per > design, will be worse than the console drivers its build upon. And them > being shit precludes the entire stack from being useful. > > It mostly works, most of the time, and that seems to be what Linus > wants, since its really the best we can have given the constraints. But > for debugging, when you have a UART, it totally blows. UART??? They still make those things??? ;-) Thanx, Paul