Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1960152rwb; Fri, 23 Sep 2022 23:56:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM65EOaIdD2ec8hp76qdqZYWm2eAZI3yuHjhgdwIXwjIcIzg7P9aQUsxJCB5mKguDUqPbUje X-Received: by 2002:a17:907:31c7:b0:740:e3e5:c025 with SMTP id xf7-20020a17090731c700b00740e3e5c025mr9899720ejb.341.1664002591802; Fri, 23 Sep 2022 23:56:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664002591; cv=none; d=google.com; s=arc-20160816; b=ziaChBXzmQZBB9H1BmeTx2NWmAAe8joPUJeHLy+ins5it3ZcS5f2Dl1PuXhhvzn0s1 MCr8vJjHEGAgvDLfB18WV86/AEsenjX66y5XTjv2XT+a7FxAqq7/bPVrDCxgzIrjjcsk EI1mdeiI4CaJ6vTeYTFMORqkzGJBN6Ny6YVya4YJxpx4yeMfiMAvRqAb0j7zP9TdmQrl Dcev8h//UTGND/5sIqJ4McsGQAkSeosFWFAgep3PP2h4hDCG1Y2voAcyqxbPtf3YaDyd FZoo4lG1GvAEbhkGT3aSB/u+TqmZ7B4aLaUKWF7X9QPW1IMvILq4Wl/zEQtrXpzNKaiy GQaw== 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=DzLM8pG1Ejp0W/CC//5j4ER9KWH/Lhk1D7muiSAopVo=; b=s59jYMA99As15qD6VaMXhaKxuOFtaeqzyklDDWQtVtAgvmU9/GPM+vEVnEw2MTqczE qPgnRObtdOBcnIheh0BNz450j+W3iSteVzFgLb/9w+nzdMobz3J5/mLidTpkN0liyO0K lZAVkKDzMT+4fvgErp7dYo8Iw9xl8mhkH9gY6ARrbO+g4UHiluhBpWHUbuhcRuEbzxZw I0CDVb14qMWhLmg1TQlXXfJ1MQ7f+3GNgqcb9sPmeNaoGleVEbpOZi/WttQ+U8dWaO8Q Fe/ars+tIj36RQPLXZuqlwxPvrR/s1ZhNLsLWp5zHajzoOr7aLB4IKxtqushIdjE3OVR 9wyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DuBuothu; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e13-20020a1709062c0d00b00780dd2b1fb3si8132821ejh.867.2022.09.23.23.56.03; Fri, 23 Sep 2022 23:56:31 -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=@linuxfoundation.org header.s=korg header.b=DuBuothu; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233221AbiIXGoO (ORCPT + 99 others); Sat, 24 Sep 2022 02:44:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232228AbiIXGoM (ORCPT ); Sat, 24 Sep 2022 02:44:12 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1504811D0D1; Fri, 23 Sep 2022 23:44:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id EDA4DCE0A1D; Sat, 24 Sep 2022 06:44:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B217FC433D6; Sat, 24 Sep 2022 06:44:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664001847; bh=XU+g1TD85eu+F7lKIDh9lt03VNI1wjjOGHmpCB5PpDQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DuBuothuIcm+Rf/8d4hwbhg/hA+Gss6N8vAry1R91LV411DY530k21Lse+D8jK9GG RpObjQM3WoK71AFU96BN6LRe54sLdG/uz1FMIPcnkAD74N/BuW+r/s/f/dz+lbhX0r cXIqKeTiJ/jKqhCUt4kEWx27bLxhdSydHSx5SXog= Date: Sat, 24 Sep 2022 08:44:38 +0200 From: Greg Kroah-Hartman To: John Ogness Cc: Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, 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=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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, Sep 24, 2022 at 02:10:36AM +0206, 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 > These all look great to me, thanks for resending them. Do you want them to go through my serial/tty tree, or is there some other tree to take them through (printk?) If they are to go through someone else's tree, feel free to add: Reviewed-by: Greg Kroah-Hartman