Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2421503rwb; Thu, 29 Sep 2022 10:00:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7v7pMwGCsqSU6fwVAtu408BINbiRlnc/MPKRnCUh3ADCoHVOCTM+rs3L/gVzwUDGmWczgJ X-Received: by 2002:a17:906:9bf5:b0:77e:1ed1:b1b with SMTP id de53-20020a1709069bf500b0077e1ed10b1bmr3471549ejc.540.1664470816065; Thu, 29 Sep 2022 10:00:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664470816; cv=none; d=google.com; s=arc-20160816; b=UEs4eNEBquL9xBJb30ETnkscuB2mz0cpNO493hdCCHVLIZRRPSYHAmjK74D2JAf2gh iOnYtMG19FcdRF7oijk4dEAFKPW9GcXwAn6nVagkqULJMXD/Xb2NoSsOQzN3BPpcc4Tu nM+wnjKyfMDv5wKeibOd3Dia9sQB0Q/5jtrnPvgPoFnnh+q1RFsq2hhpr0WDLcdEonpg UQ0Bm6BDIBtLP/IKMqJWvIc7gLFU2avfP+atHVNPeSErDq2w6R8+N7hO5in37NWesEHS 76e2Fk691M3lcjWS0Q0zooqxq4MG98AVLYQB4EmX7p8eeu7dfGk3Rndw3Fxrb0X6rjTL tIqQ== 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=8eShIPYqu7E10XqA1YXAoCftbC0rFatAmpe4+4vsscI=; b=AStPr7gTKDt2Fh8fss1SdXJAr48m5NPybAO52SWvibL4drrKV1/o9+c+1SkoCl6BcA cd0l4znw6dtfevBzhbIiqJ4figNbl8EJvsJdPhe28EcHyRamhj+3Cq0k2lw1sYdLtdhI A1hSHqCR1+baonGLjKnwWvAvJAdbBLDrGW536b0cK0S42NIMRHFj7+yeJOmwolzQCTqM tjZ5equhM167vMOf7Gl4rnjpbdgt9iKjXPXO/jUSGlO1bYArq7nJ/DVJ0K+712B98jjT 2D2APPCw2wm4iRg+1bk/tzvEe2Lodftkigh+EkhT/oU/yPFpH/QkJEZKAQAFv3tphzMq RcSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=HrytoeWs; 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 q10-20020a056402518a00b004582354990bsi9991edd.454.2022.09.29.09.59.49; Thu, 29 Sep 2022 10:00:16 -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=HrytoeWs; 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 S233332AbiI2Qdz (ORCPT + 99 others); Thu, 29 Sep 2022 12:33:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235201AbiI2Qdm (ORCPT ); Thu, 29 Sep 2022 12:33:42 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88A1355A4; Thu, 29 Sep 2022 09:33:41 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 019CD1F8BE; Thu, 29 Sep 2022 16:33:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1664469220; 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=8eShIPYqu7E10XqA1YXAoCftbC0rFatAmpe4+4vsscI=; b=HrytoeWsHGUIH5VJtyPUoJbyv0xaregBL9fpxSePMNf0cHw5nf+aDFmL36YJQ3Jn1YmQyx eW5zw2346C+FqG7Q8ICq/meKC/T4wcj0j0RThkBCrDcJvCJ2tPtNO0Qoh6JhVRHBOSmqte nBCLwjNhPnV0W1Yoa/c5AWzNQtWFceo= Received: from suse.cz (unknown [10.100.208.146]) (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 E2A212C14E; Thu, 29 Sep 2022 16:33:38 +0000 (UTC) Date: Thu, 29 Sep 2022 18:33:35 +0200 From: Petr Mladek To: John Ogness Cc: Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby , "James E.J. Bottomley" , Helge Deller , Sven Schnelle , John David Anglin , "Eric W. Biederman" , Julia Lawall , linux-parisc@vger.kernel.org, Jason Wessel , Daniel Thompson , Douglas Anderson , kgdb-bugreport@lists.sourceforge.net, linux-serial@vger.kernel.org, Aaron Tomlin , Luis Chamberlain Subject: Re: [PATCH printk 00/18] preparation for threaded/atomic printing Message-ID: References: <20220924000454.3319186-1-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220924000454.3319186-1-john.ogness@linutronix.de> 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 Sat 2022-09-24 02:10:36, John Ogness wrote: > Hi, > > This series is essentially the first 18 patches of tglx's RFC series > [0] with only minor changes in comments and commit messages. It's > purpose is to lay the groundwork for the upcoming threaded/atomic > console printing posted as the RFC series and demonstrated at > LPC2022 [1]. > > This series is interesting for mainline because it cleans up various > code and documentation quirks discovered while working on the new > console printing implementation. > > Aside from cleanups, the main features introduced here are: > > - Converts the console's DIY linked list implementation to hlist. > > - Introduces a console list lock (mutex) so that readers (such as > /proc/consoles) can safely iterate the consoles without blocking > console printing. > > - Adds SRCU support to the console list to prepare for safe console > list iterating from any context. > > - Refactors buffer handling to prepare for per-console, per-cpu, > per-context atomic printing. > > The series has the following parts: > > Patches 1 - 5: Cleanups > > Patches 6 - 12: Locking and list conversion > > Patches 13 - 18: Improved output buffer handling to prepare for > code sharing > > Thomas Gleixner (18): > printk: Make pr_flush() static > printk: Declare log_wait properly > printk: Remove write only variable nr_ext_console_drivers > printk: Remove bogus comment vs. boot consoles > printk: Mark __printk percpu data ready __ro_after_init JFYI, I have pushed the first 5 cleanup patches into printk/linux.git, branch rework/kthreads. The aim is to get them into 6.1. The rest of the patchset is still being discussed. Best Regards, Petr