Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1299244pxa; Sat, 15 Aug 2020 14:57:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXyCksxyucVi4whixZw7Uybt0a6zTG0jVhGQDDH4gKhhuK+lxMPrW8khCiwa7+WEGPR2GC X-Received: by 2002:a17:906:7790:: with SMTP id s16mr8960295ejm.254.1597528657904; Sat, 15 Aug 2020 14:57:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597528657; cv=none; d=google.com; s=arc-20160816; b=xUTZs3ax6xdkrh7qccBmfV8AHBZCuXmWyQJHbAJE2L8N7HwaDMkZWgMwCnfXLJLjQ7 2uCW0lJVrek9/+SzuaDdF7BfWLoyhU45rOzW5oxkgPWkwDrLVWa1Y561Mp7rD4Cees3m 13yHu5mWQqN/AVlrECNnLX5rTOuD3oGMJWzflsd/8Rcf16Kql9dBm/8nv+odx99jxRXD MFkCFMKwGl0CVoDuAfs+7NWk8pfNhY0Zt3/A0MzRsV+JOcUg++HvvS3Xfj5a08Dt60+O nPHntQVhrcbxsXf2vwJps3xk52+5Kh8HHEeU5A++3aZVcSQ/BOy1CxVQblfIEEPEpIuc +ZWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=oIQppiOzuNC/um3vyuInZ0vCFcjSkEUBzWNA2FZBbKs=; b=kq3ZaMqnTMRKPIpBIuAXw9OAycseIPPxSmPAWXhAIBosNM3AFrz3hXIe3pYQ0tiUIN MRhtuh3uxRAk8uijqEabRlPhi/4aibVxZGpc955aHcLGLz3I1ukriyjLPWtyPrEfg+67 rQwUFuWlL/IAkWXn2o732h9DyCjupA2wtPw7qUwnPdreyC1VUXHH6qHG0QfoupeIDypN OxSZg4YrOK7XCbH0v0+oJDxMw3+IjJUuKIqXaw8dGSyH4ZGqjSRHXac4fUke+rPb+imR rwSsuEhHNEfCSwn7MnUzMGQB5Cb3ox2rei9BG0AtNon64QRNoh261HLgo0/v8P+pe4LL RYbg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e12si7709137ejd.148.2020.08.15.14.57.14; Sat, 15 Aug 2020 14:57:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729370AbgHOVzx (ORCPT + 99 others); Sat, 15 Aug 2020 17:55:53 -0400 Received: from smtprelay0136.hostedemail.com ([216.40.44.136]:38898 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729064AbgHOVzu (ORCPT ); Sat, 15 Aug 2020 17:55:50 -0400 Received: from smtprelay.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by smtpgrave04.hostedemail.com (Postfix) with ESMTP id EBF8C1801BE39 for ; Sat, 15 Aug 2020 03:08:05 +0000 (UTC) Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay02.hostedemail.com (Postfix) with ESMTP id BAB625853; Sat, 15 Aug 2020 03:08:05 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2198:2199:2393:2553:2559:2562:2691:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3871:3872:3874:4250:4321:5007:6119:7875:7903:9389:10004:10400:10450:10455:10848:11232:11658:11914:12296:12297:12740:12760:12895:13069:13255:13311:13357:13439:14096:14097:14181:14659:14721:19904:19999:21080:21433:21627:21795:30051:30054:30060:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: linen97_5911ea827002 X-Filterd-Recvd-Size: 2879 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf02.hostedemail.com (Postfix) with ESMTPA; Sat, 15 Aug 2020 03:08:03 +0000 (UTC) Message-ID: Subject: Re: POC: Alternative solution: Re: [PATCH 0/4] printk: reimplement LOG_CONT handling From: Joe Perches To: Linus Torvalds Cc: Sergey Senozhatsky , Petr Mladek , John Ogness , Sergey Senozhatsky , Steven Rostedt , Greg Kroah-Hartman , Peter Zijlstra , Thomas Gleixner , kexec@lists.infradead.org, Linux Kernel Mailing List Date: Fri, 14 Aug 2020 20:08:02 -0700 In-Reply-To: References: <20200717234818.8622-1-john.ogness@linutronix.de> <87blkcanps.fsf@jogness.linutronix.de> <20200811160551.GC12903@alley> <20200812163908.GH12903@alley> <87v9hn2y1p.fsf@jogness.linutronix.de> <20200813051853.GA510@jagdpanzerIV.localdomain> <875z9nvvl2.fsf@jogness.linutronix.de> <20200813084136.GK12903@alley> <20200813115435.GB483@jagdpanzerIV.localdomain> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.36.4-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2020-08-14 at 19:33 -0700, Linus Torvalds wrote: > On Fri, Aug 14, 2020 at 4:52 PM Joe Perches wrote: > > On Fri, 2020-08-14 at 15:46 -0700, Linus Torvalds wrote: > > > This is why I think any discussion that says "people should buffer > > > their lines themselves and we should get rid if pr_cont()" is > > > fundamentally broken. > > > > > > Don't go down that hole. I won't take it. It's wrong. > > > > I don't think it's wrong per se. > > It's *absolutely* and 100% wrong. > > Yes, any random *user* of pr_cont() can decide to buffer on it's own. Which I believe is the point of the discussion, not the complete removal of KERN_CONT. > But when the discussion is about printk() - the implementation, not > the users - then it's complete and utter BS to talk about trying to > get rid of pr_cont(). > > See the difference? Sure, but I fail to see where anyone said get rid of pr_cont in this thread. It seems all that was discussed was just various schemes to improve coalescing output.