Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1723905ybl; Thu, 5 Dec 2019 06:07:53 -0800 (PST) X-Google-Smtp-Source: APXvYqxvVUzLVxq+qvvcNUnwzQZ6wZ+H2mN21INzSXAPSbU2QkJrUzzJdMTEVM9BhJ8UVU5xynpD X-Received: by 2002:aca:1918:: with SMTP id l24mr7167754oii.19.1575554873056; Thu, 05 Dec 2019 06:07:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575554873; cv=none; d=google.com; s=arc-20160816; b=ffHPzs1o5W2mxLzthcoR34lv+WYHW0Tiw8weE9m8xg6fpn8xSxoMcMWZMZ9ZR4gkKL jlL6+ntC2tcnj/HhjqcyfY6jVtNjIbmYja+Ibk9rOvH+dnrgtmCIsbg7xAPged7LQw+6 j16UWlbojQ1zXdzm7rzlF46w9j54EgFTQLuDSFds8VFLeIsIAvniM5Jch2KdfEBRvuik 1kFIHelZZftmXaJefDoD52AcWFeGk5CECZL7TY10oITg8hs+gQOy9tOEx4Znxth/ov/X phd5CUj1vBtymBlOznCH5lJ0TSr7H7oxSphNOqGD0IMiZpBbtQwTYyNX6TGTq1yeIHIa EyKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=6rSjfCOzAPHMf5hlcsuNosM9fuofygdLYDH00Iv/UvY=; b=KNE6y3JkEvXk074VWQeLravvmQRxRcrgPXidTqVhoiK1rgeiWjhyum09esJ2ofpc0R BuWxe9b0H7BINrNThbv4A4AggAcCiY40Dsv3kYhOOoW2gBJQOmKP6wkVqowG6kqJE/zY XSsFucISk9/UeQnRW5czTTDOR/rpIvq9uis7eftXkkpetAPxfRwJOm/6TVbtrlVO3G/R sd3YWFrMFZZldUUdxZ1/Z7QE0g4tNZ6j1qZWLMH9YX2Exscmw18qGjgUHUDJbAybGTH/ y59BCA7KBO0uolrrSDT1JquGGS3lpR+QYmQZYz9kpZEF0t6kylt2b+/ZdbfNEhCWRbEX S2TQ== 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 u4si4697809oiv.62.2019.12.05.06.07.36; Thu, 05 Dec 2019 06:07:53 -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 S1729497AbfLEOGZ (ORCPT + 99 others); Thu, 5 Dec 2019 09:06:25 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:59160 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729236AbfLEOGY (ORCPT ); Thu, 5 Dec 2019 09:06:24 -0500 Received: from localhost ([127.0.0.1] helo=vostro.local) by Galois.linutronix.de with esmtp (Exim 4.80) (envelope-from ) id 1icrlU-00030b-96; Thu, 05 Dec 2019 15:05:56 +0100 From: John Ogness To: Prarit Bhargava Cc: linux-kernel@vger.kernel.org, andrea.parri@amarulasolutions.com, brendanhiggins@google.com, gregkh@linuxfoundation.org, kexec@lists.infradead.org, peterz@infradead.org, pmladek@suse.com, rostedt@goodmis.org, sergey.senozhatsky@gmail.com, sergey.senozhatsky.work@gmail.com, tglx@linutronix.de, torvalds@linux-foundation.org Subject: Re: [RFC PATCH v5 0/3] printk: new ringbuffer implementation References: <20191128015235.12940-1-john.ogness@linutronix.de> <20191205134652.12631-1-prarit@redhat.com> Date: Thu, 05 Dec 2019 15:05:54 +0100 In-Reply-To: <20191205134652.12631-1-prarit@redhat.com> (Prarit Bhargava's message of "Thu, 5 Dec 2019 08:46:52 -0500") Message-ID: <87zhg6zx31.fsf@linutronix.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Prarit, On 2019-12-05, Prarit Bhargava wrote: > Based on the comments there is going to be a v6 but in any case I am > starting testing of this patchset on several large core systems across > multiple architectures (x86_64, ARM64, s390, ppc64le). Some of those > systems are known to fail boot due to the large amount of printk output so > it will be good to see if these changes resolve those issues. Right now the patches only include the ringbuffer as a separate entity with a test module. So they do not yet have any effect on printk. If you apply the patches and then build the "modules" target, you will have a new test_prb.ko module. Loading that module will start some heavy testing of the ringbuffer. As long as the testing is successful, the module will keep testing. During this time the machine will be very slow, but should still respond. The test can be stopped by unloading the module. If the test stops on its own, then a problem was found. The output of the test is put into the ftrace buffer. It would be nice if you could run the test module on some fat machines, at least for a few minutes to see if anything explodes. ARM64 and ppc64le will probably be the most interesting, due to memory barrier testing. Otherwise I will definitely be reaching out to you when we are ready to perform actual printk testing with the newly agreed up semantics (lockless, per-console printing threads, synchronous panic consoles). Thanks for your help with this. John Ogness