Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp129784imn; Tue, 2 Aug 2022 20:46:57 -0700 (PDT) X-Google-Smtp-Source: AA6agR5xsNDf8G6bKI1oOa69yd8klw9rfdXCi4x85vXpbVdlqjh2+kQkd/CC5eWJa1ZU7Z7DYfRE X-Received: by 2002:a05:6402:177b:b0:43d:64c5:7799 with SMTP id da27-20020a056402177b00b0043d64c57799mr17068492edb.180.1659498416802; Tue, 02 Aug 2022 20:46:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659498416; cv=none; d=google.com; s=arc-20160816; b=miRyQFqNGcG+QQ6ea1cdEzgPHfeEpeKbe1+aLWeR9AyJ81a3PoSoaUzNtua/KCMk/X +eSJDyD7HWsvinv18rKAErLh18YyLbbxjF1Iot5gLaENAJ7f/TTQclTv8lNwmqlkiqeH R+VNLqa/DOdSrMMAdkkdt2mrj73nqs+ve3YvbmOhnyzBRY/UF9FSgl25UuiGUouN59Hr 12KdB8BuAk52EX9/Uj51MVWaGSlnTFDYpomlWYWP1xLNZZfAa5dlWUdJqrI8n+7/dBqg X9xNlcMOuzW6BFfnadgGrzz8iKHiiwF45HM6Kb1N7MHVWOZwgV631JD0gj+EsQUyt5E1 ve3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=qy1jWYwnG9452wugTCrRTZvi4+IrGNxgDbnguzeYbro=; b=Ic6Kas9SFLlzalfG77rt0fWBTbwg0OacgMh9w8hbjWzF248emOF50cT8+pouFjBOUS O3CbFz3abvmpwy2eZy+vuTOgF7S+NWxgEubkTZBxjA9Dylw3B+8WvjNklptaFVE02QuS XNoX1hEERLsn1rHCON3dif+YKbgLTWf5zxxybCWovolFKPTbHsp+gPYJg42MECogWVjx 7xrXDDvQMQb29Vn+ANcYJg03g/whmYzGYPm7kMSyjvIVrFqBkecu/pqUqQZ8NwxP41vT 6TpRs/sDU9hODmgPExOFUUveVvrUi6BPSJ7LcbGrmeZ4lZ1dz5NFlPvm/lCKwFjFUnHT WUVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=FtIvVutQ; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt2-20020a170907728200b006fed9376071si15689124ejc.13.2022.08.02.20.46.32; Tue, 02 Aug 2022 20:46:56 -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=@linux-foundation.org header.s=google header.b=FtIvVutQ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233872AbiHCDT5 (ORCPT + 99 others); Tue, 2 Aug 2022 23:19:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232491AbiHCDTz (ORCPT ); Tue, 2 Aug 2022 23:19:55 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18CB43342A for ; Tue, 2 Aug 2022 20:19:54 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id i14so10406609ejg.6 for ; Tue, 02 Aug 2022 20:19:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=qy1jWYwnG9452wugTCrRTZvi4+IrGNxgDbnguzeYbro=; b=FtIvVutQFKN66fPCXnRjzeFpwAvWlpKdRLN0f0WYZSsGsfCwW8tE2K6dWJp4NVXzLM xoqWoshHqUhjfVnshp2MVtFU62WEAnAnmQ3yAwpXwVbJkaFxFvnGUWTvxHEgxuvJfBiT qSaFctrDD77fGQ5r5BzrDxED59aKc+efhPRHA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=qy1jWYwnG9452wugTCrRTZvi4+IrGNxgDbnguzeYbro=; b=yXtji6EUb8olPKFLjR2pBW8q5G+6V5V3NxDGII3CpfPQAPRG5eoYzuDahHQ8m/o46g HYyV6ym5iSJTWzuRgmrJ8msPNut0/stSmr25NAXPdaib1Np51yN/orn5oZgRjvs3fx+C 8RJmQuJ2XZ5jr3Xov3m4NkhdiR7HCqfwjMEGAztaSfEee88HKfySKilJ8+W5IrHpbQbH sMViPuvfk7hTOqAEaDhCfuAWWFnwC2RwpF8qNXVoWXBUCDZCHDW18E3WGoioYO9INkKx rDcZwiTGevdveTcJUIfLol6k9k76PtMo//OHmH1Rru1yntcxF6wTNHHbucpUFVoZZfXn mMSA== X-Gm-Message-State: AJIora/ms3o3Y2UHYHyr4ZEslpLrE3zjdxqKCW0UUArdcraaHf4kRUIX 0/Wh3NA/acW2044Ypc62dRILf7zTmmUfeW7E X-Received: by 2002:a17:907:60cc:b0:72b:40a8:a5b with SMTP id hv12-20020a17090760cc00b0072b40a80a5bmr18444401ejc.379.1659496792395; Tue, 02 Aug 2022 20:19:52 -0700 (PDT) Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com. [209.85.221.51]) by smtp.gmail.com with ESMTPSA id sy7-20020a1709076f0700b0073054d7c51csm4402794ejc.37.2022.08.02.20.19.50 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Aug 2022 20:19:51 -0700 (PDT) Received: by mail-wr1-f51.google.com with SMTP id h13so719259wrf.6 for ; Tue, 02 Aug 2022 20:19:50 -0700 (PDT) X-Received: by 2002:adf:edcb:0:b0:21e:d043:d271 with SMTP id v11-20020adfedcb000000b0021ed043d271mr14820445wro.274.1659496790456; Tue, 02 Aug 2022 20:19:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Tue, 2 Aug 2022 20:19:34 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] printk for 5.20 To: Petr Mladek 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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no 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 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. 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. It's also NOT SANE. 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". 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. Linus