Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3467857ybl; Mon, 27 Jan 2020 04:42:23 -0800 (PST) X-Google-Smtp-Source: APXvYqxpaJ5zAXi04B89pc7zkNHolSdafbkj+pRbA93O9WBwUQ2RvBmIZySL6RbOf0zg0krevPUt X-Received: by 2002:aca:5905:: with SMTP id n5mr7412246oib.54.1580128943455; Mon, 27 Jan 2020 04:42:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580128943; cv=none; d=google.com; s=arc-20160816; b=cU8ohJcw9aqseMraeZPJ0coN69UvQMgwRI7WlQte8Nkc/ss/hUYcp4WhC2a6vD21my Bev2WlKbtYza1W4JZ8fzM6V0lSBpnN1sk2VHJrSAuNZ+HQ6nIcVwNXCcdOo+Fkcoq5Ag 9XGKztH1cZfTbm5jxrnEWd8ppSXv/ZJcYan+8JTlJBnDEtbETjp5+jc1fNC+/AV/VKaJ nMslpA2vimTnDgl3QvqwOiejRwiXht6p5GtU9gruFMT/QbCv1wapVvm72wZRA7vv9Krd T8Tr8P4bphKcX+pKt0IKdeJUiHtweQzldG/XQFsdKfsaZ81N1/Ftp6py4y43F8V3hXaF UaSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=ry5oTt1Wy4rUvkbiCL8pTdwJ649mSD/A96cEQwdin80=; b=Uz6xInN7l/d9QPy/4MiucQw4Yn72PqXEU+Hqm85bisEFbkiLQCoBcgK8Hlt3MxyHRN 7PzU+nMp+At9DYjB2qlJIdCvFluHLD/x3FTS9Jf36LGM5EfpxxncEa7OKxddRT/BaV7C s4dTOCqjyepFjnJlJclg1uGgYRtVKcy1z5gPuciXVqoeDkJY+EjDM4JMcAKn0KFGmv/n WSB0rPL0WkU5ZaqoC5mw5g/VF1PGiW1bPukpeMbCMpSRqvJez8L3SOr/3n2JT6cEFIIt cA9ut6PX5GenzHKrSr48Y8z4UVRSwYqS4BoqP8TRrLohNB5f8bS2r94HLJZIxXz9ZLdD vx2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b145si3383090oii.67.2020.01.27.04.42.11; Mon, 27 Jan 2020 04:42:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730528AbgA0MVJ (ORCPT + 99 others); Mon, 27 Jan 2020 07:21:09 -0500 Received: from smtp1.de.adit-jv.com ([93.241.18.167]:35412 "EHLO smtp1.de.adit-jv.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726145AbgA0MVI (ORCPT ); Mon, 27 Jan 2020 07:21:08 -0500 Received: from localhost (smtp1.de.adit-jv.com [127.0.0.1]) by smtp1.de.adit-jv.com (Postfix) with ESMTP id 7A5CF3C0594; Mon, 27 Jan 2020 13:21:06 +0100 (CET) Received: from smtp1.de.adit-jv.com ([127.0.0.1]) by localhost (smtp1.de.adit-jv.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kE-ke1A_4OPT; Mon, 27 Jan 2020 13:21:01 +0100 (CET) Received: from HI2EXCH01.adit-jv.com (hi2exch01.adit-jv.com [10.72.92.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by smtp1.de.adit-jv.com (Postfix) with ESMTPS id 2978E3C00C5; Mon, 27 Jan 2020 13:20:43 +0100 (CET) Received: from lxhi-065.adit-jv.com (10.72.93.66) by HI2EXCH01.adit-jv.com (10.72.92.24) with Microsoft SMTP Server (TLS) id 14.3.468.0; Mon, 27 Jan 2020 13:20:42 +0100 Date: Mon, 27 Jan 2020 13:20:39 +0100 From: Eugeniu Rosca To: John Ogness CC: , Peter Zijlstra , Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Linus Torvalds , Greg Kroah-Hartman , Andrea Parri , Thomas Gleixner , Sergey Senozhatsky , Brendan Higgins , , Eugeniu Rosca , Eugeniu Rosca Subject: Re: [RFC PATCH v5 0/3] printk: new ringbuffer implementation Message-ID: <20200127122039.GA2358@lxhi-065.adit-jv.com> References: <20191128015235.12940-1-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20191128015235.12940-1-john.ogness@linutronix.de> X-Originating-IP: [10.72.93.66] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi John, On Thu, Nov 28, 2019 at 02:58:32AM +0106, John Ogness wrote: > Hello, > > This is a follow-up RFC on the work to re-implement much of the > core of printk. The threads for the previous RFC versions are > here[0][1][2][3]. > > This RFC includes only the ringbuffer and a test module. This is > a rewrite of the proposed ringbuffer, now based on the proof of > concept[4] from Petr Mladek as agreed at the meeting[5] during > LPC2019 in Lisbon. > > [0] https://lkml.kernel.org/r/20190212143003.48446-1-john.ogness@linutronix.de > [1] https://lkml.kernel.org/r/20190607162349.18199-1-john.ogness@linutronix.de > [2] https://lkml.kernel.org/r/20190727013333.11260-1-john.ogness@linutronix.de > [3] https://lkml.kernel.org/r/20190807222634.1723-1-john.ogness@linutronix.de > [4] https://lkml.kernel.org/r/20190704103321.10022-1-pmladek@suse.com > [5] https://lkml.kernel.org/r/87k1acz5rx.fsf@linutronix.de > > John Ogness (3): > printk-rb: new printk ringbuffer implementation (writer) > printk-rb: new printk ringbuffer implementation (reader) > printk-rb: add test module As a follow-up to the discussion started in [*], I would like to stress once again that it is extremely convenient to have the context of the console drivers detached from the printk callers, particularly to mitigate the issue described in [*]. I gave the test module from this series a try, by running it overnight on R-Car H3ULCB, and spotted no issues whatsoever. I won't post any signatures, as this is RFC, but I would be willing to do so for any upcoming non-RFC series. Looking forward to that! [*] https://lore.kernel.org/linux-serial/20200120230522.GA23636@lxhi-065.adit-jv.com/ -- Best Regards Eugeniu Rosca