From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965362AbcJXQ2K (ORCPT ); Mon, 24 Oct 2016 12:28:10 -0400 Received: from smtprelay0045.hostedemail.com ([216.40.44.45]:33640 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932633AbcJXQ2B (ORCPT ); Mon, 24 Oct 2016 12:28:01 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::,RULES_HIT:41:355:379:541:599:968:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2194:2199:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3867:3868:3871:3872:4321:4470:5007:6119:8660:8792:9108:10004:10400:10848:11232:11658:11914:12296:12740:12760:13069:13095:13148:13181:13229:13230:13311:13357:13439:14096:14097:14659:14721:21080:21433:21451:30012:30054:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: bean29_45b5da465464d X-Filterd-Recvd-Size: 1857 Message-ID: <1477326477.1984.2.camel@perches.com> Subject: Re: [PATCH] arm64: Neaten show_regs, remove KERN_CONT From: Joe Perches To: Mark Rutland Cc: linux-kernel@vger.kernel.org, Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org Date: Mon, 24 Oct 2016 09:27:57 -0700 In-Reply-To: <20161024113131.GH15620@leverpostej> References: <4cbf196b83cd9d175634e7056744dc649ae87f63.1477253239.git.joe@perches.com> <20161024113131.GH15620@leverpostej> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.1-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2016-10-24 at 12:31 +0100, Mark Rutland wrote: > On Sun, Oct 23, 2016 at 01:40:49PM -0700, Joe Perches wrote: > > commit db4b0710fae9 ("arm64: fix show_regs fallout from KERN_CONT changes") > > corrected the KERN_CONT fallout from commit 4bcc595ccd80 > > ("printk: reinstate KERN_CONT for printing continuation lines"), but > > the code still has unnecessary KERN_CONT uses. Remove them. > > Why are these unnecessary KERN_CONTs a larger problem than duplicating > the format string for a third time? Having to duplicate it at all was > annoying enough. Not printing partial lines is the best solution to avoiding message output interleaving. > Overall, to avoid messing with the KERN_CONT mess it'd be nicer to > format this all into a buffer (with the format string only existing the > once) and subsequently print it with one printk call A single printk call would get one timestamp which would make for ragged/staggered reading.