Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp405785imn; Wed, 3 Aug 2022 08:51:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR5JFCp2evyiN/1Vf/kXHIDRoV9PboafsbIbgsg8n/87Ebm4hT72hDVxOEgQCdwMmNZXLxWn X-Received: by 2002:a17:902:ce90:b0:16e:f7c3:c478 with SMTP id f16-20020a170902ce9000b0016ef7c3c478mr12429735plg.82.1659541900795; Wed, 03 Aug 2022 08:51:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659541900; cv=none; d=google.com; s=arc-20160816; b=XQmH2D1MsyptNvHnfcrZM0BPhTu/EVcsMBc0PwnLs8Z0z+1bcAo4rBiFkFi6oMtCmc AolJ/L8+4m4X4G0jVaGpjbMjrK2rKioEmDkdAP7vebHlaU4XIntLThHhWCdpmgfV28in /hxbBJGGYa/TVDbljaNeeRYT3iVCw5LEr79WcsznJi239wl90wHrdycvsuWMi6myJpQq 9Pu2TziwIkTpDT7fez9895ol5qwaYgcPOa222xw0Oc2mxan89P7NXjvFFrt/HOPaUlYg PNabHpQr0+Iix2JIrdkg7giQhDQOmgj29AI+cg5ZJa7jrk2Iz4AGc0kxNbZ6tnqN0Qja fiZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UAStwIGdqe/A5SzN5E32d+euHKColmkL6Q4xDWBX7Z4=; b=rHnhaxlLwwPCqV1JXW5GUdbe+DhH78wQpWqURVl1vXewVmsBTbQ88gjgP2s0xlJ811 XFq8BVGZcwKM1o84Ng7q/k8B+cruU+TKAFROfTHOp7aruq3G7888KMvZPI897zUh3Wg3 rfrd3EwUAqX/MIF33gNT9p5Su6XsHFqMGS7tKlAX4/KpdKhDekWP8wSCbMH6R4UVxM6J ofB+Aqbq8x2FRgp30OixOg/59D0GF4SyOvMRxJNLYaQoePCp07v6unKdcvJTjOCKJA1e gjlt8dfBNyJMPpOES/4SqsOoHnRWCK0AQTHhycxqIAJ5YBSa5rl8Sj/Wsa3gEPbeyIxY Hx8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=mux3gyoG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r188-20020a632bc5000000b0041c5b922b61si6386910pgr.416.2022.08.03.08.51.26; Wed, 03 Aug 2022 08:51:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=mux3gyoG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236797AbiHCPnX (ORCPT + 99 others); Wed, 3 Aug 2022 11:43:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236130AbiHCPnU (ORCPT ); Wed, 3 Aug 2022 11:43:20 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63319638D for ; Wed, 3 Aug 2022 08:43:19 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 361D31FA85; Wed, 3 Aug 2022 15:43:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1659541396; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UAStwIGdqe/A5SzN5E32d+euHKColmkL6Q4xDWBX7Z4=; b=mux3gyoG+/sDUb//KthsMzndMmpXAnNTBz9WER5RBn5wsZJiyZ1XcO2beypdnwkuUDoUiw L7BSDQgrPIfbGpvEuHddYOHoNdteXzeWEn8CISSNZ0xpYxOKnHrgG3HJEpa4FSOVjGoLV1 /c0RPYounzRGlZ4rx3P+koTqy8jVA20= Received: from suse.cz (unknown [10.100.201.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id BAF712C141; Wed, 3 Aug 2022 15:43:15 +0000 (UTC) Date: Wed, 3 Aug 2022 17:43:12 +0200 From: Petr Mladek To: Linus Torvalds Cc: Sergey Senozhatsky , Steven Rostedt , John Ogness , Andy Shevchenko , Rasmus Villemoes , Sebastian Andrzej Siewior , Thomas Gleixner , Jan Kara , Peter Zijlstra , linux-kernel@vger.kernel.org Subject: Re: [GIT PULL] printk for 5.20 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 2022-08-02 20:19:34, Linus Torvalds wrote: > On Mon, Aug 1, 2022 at 8:08 AM Petr Mladek wrote: > > > > - Completely disable printing on consoles with CONFIG_RT. > > I don't think this is acceptable. > > We don't suddenly change behavior just because some random developer > has decided "this is the RightThing(tm) to do". > > Users matter. I fully agree. > For all we know, there may be random users who are playing around with > PREEMPT_RT. They don't *have* to, but they want to. > > Just saying "you get no console because you wanted to try it out" is > simply not acceptable. This is where I probably made a mistake. I know that PREEMPT_RT is not production ready in upstream. And I am not sure what people playing with it expect. My first reaction was that the patch was a joke. I tried to formulate the concerns somehow, see https://lore.kernel.org/all/Yt6MzEEFfpyTBIIj@alley/ Hmm, I ignored my intuition and let people familiar with PREEMPT_RT decide. I knew that John was working on the proper solution so it was not supposed to be final one. > Seriously, even if you have strict RT requirements, you may also have > strict debugging requirements, and if something goes wrong, you want > to KNOW ABOUT IT. At that point, your RT rules may well fly out the > window, because you have more serious problems. > > End result: no way will I accept this kind of completely arbitrary and > frankly not very intelligent patch. > > If people want to disable console printing, that's THEIR CHOICE. It > could be a new config variable where you ASK people about what they > want. Not this kind of idiotic tying together of things. > > And guys, I want to make it really clear how disappointed I am with > the printk tree lately. There seems to be some kind of hardline > religious fervor having taken over to make these kinds of "this is how > it has to be done, screw any sanity or common sense". > > There is exactly one thing you should hold sacred: don't break > people's setups. All the rest is just engineering, and a HUGE part of > "engineering" is to realize that everything is a trade-off. > > Linux kernel development is a pragmatic thing where existing users and > existing code matters, and you don't get to just throw it all away > because you have some odd personal hangup. > > And printing messages to a console is not some "oh, we'll just stop > doing that because you asked for PREEMPT_RT". My thinking was that PREEMPT_RT was used only by some rather small community that was very well aware of the upstream status. I kind of though that this was their choice. I think that I underestimated political and human influences. > Put another way: not only am I not pulling this, I'm concerned that I > will not be pulling printk patches in the future either because of > where these pull requests seem to be trending. I admit that _I did a big mistake_ by this "disable consoles on RT" patch. It broke many principles and it was a real hack. On the positive side. My intuition told me that it was very controversial. This is why I clearly described the effect. And it was the very first sentence in the commit message. I think that I made it _very visible_. The previous merge window was different. We tried to get into mainline a feature that many people wanted for years (since 2012). We though that it was ready but it wasn't and we took it back in time. Otherwise, I think that I am quite demanding maintainer. I focus on that the change must make sense, must not break existing behavior, any user interface must be sane, the code must be readable and maintainable. I do mistakes. But I have learned big lessons last and this merge window. I am going to believe more into my intuition and be more strict. I am going to take a break and think twice before sending any further pull request. Best Regards, Petr