Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp788902ybl; Fri, 6 Dec 2019 06:17:42 -0800 (PST) X-Google-Smtp-Source: APXvYqx3uim+k/fhE+SbFwFM7z+uk9MrAd0tUF+5jSmcRCA+G45B7S0UxYizlJoXQT6vr784C1Iw X-Received: by 2002:aca:c494:: with SMTP id u142mr12736406oif.86.1575641862254; Fri, 06 Dec 2019 06:17:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575641862; cv=none; d=google.com; s=arc-20160816; b=zuFmvJCF9B+F7roLcyfo1d2oHyizqhPLpwa2momnMJ0J73/MS+VVQ7mK+tuAJhoQWa SsF6Ad68dQL4MgFOFOZDf19X2XtPHDJewQiHI24AyygvBqVh4vVLne64eDaFkk5vh3yc d4ejT7cyz2rndCwOwxJy+c1ddMAzPOumPREA2Feqr5iMDR6p8tw09BTjZ3W6pc7gAmgM XhlIgsxIVNKf1qT634BraXyxKmQbb/Xgz+/rjnzoJ98MFQ6gdzuPlTm5zdveqxakLs5j UAAwiaFfFq0I92X483JIL2kvuK3knPTI7cqZ8whA1Oo6dK0CrQQYHKP/8Mukp4GqPlog aUmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AZIJx8+mn7hsmuKsrvwqAWlAV7JzTrtDo1L8YffDmDY=; b=G2vdSTEhjYCQxL11AgdpXZIasI8Zb3tXWetF5LkF+V5JAUiJSkUht/1KYCJrAI6sZp T2Mk6Qes2k+I2Eh4/nyF4dVfO1lme7HNE1qbT25ECGQB2cJjRKShUrsn8fubrFOHi7PH 3pC9kqiic61T2LDtBFPQvUW81/wY4S5+iQ+ZHFW2pGP+0cQxBYAK65dH4kTNtalGfTzA UBWOqturAZ2y1gUmrI6pRPOqwqmUOriphERJqRXSzJRAfXnwrLDZtyXwd4ojvJEuv1vX zLELBfO7ZGD5dyUhq+29ADVVUyGZa4iVDUw5FKsPyh9j0bgVhO1KXSacbAk1NOqBCpAJ DWfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="iS/qPmuc"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v26si7556717otj.0.2019.12.06.06.17.29; Fri, 06 Dec 2019 06:17:42 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="iS/qPmuc"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726508AbfLFORD (ORCPT + 99 others); Fri, 6 Dec 2019 09:17:03 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:37816 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726214AbfLFORD (ORCPT ); Fri, 6 Dec 2019 09:17:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575641821; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AZIJx8+mn7hsmuKsrvwqAWlAV7JzTrtDo1L8YffDmDY=; b=iS/qPmuc+Pz+5nqRceBzKVp+hhjelEMFphYs+E1csNMCKp0DCJWLqWYBF2GdKwaXuiRP/X qPIaUkCIFrvBUbbJsmgEk+Kg2BDG9vAro69B3vlTo8JqSq1N6jdbTSKoBoHzJwVDmGlPRr fnaN+9QaI7pcBcKJYsXk3zImdmvOKz8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-40-vhicXEh8O6CvUvqBmFTRSw-1; Fri, 06 Dec 2019 09:16:58 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3256C800D5B; Fri, 6 Dec 2019 14:16:56 +0000 (UTC) Received: from prarit.bos.redhat.com (prarit-guest.7a2m.lab.eng.bos.redhat.com [10.16.222.26]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4F86960BF4; Fri, 6 Dec 2019 14:16:54 +0000 (UTC) From: Prarit Bhargava To: prarit@redhat.com Cc: andrea.parri@amarulasolutions.com, brendanhiggins@google.com, gregkh@linuxfoundation.org, john.ogness@linutronix.de, kexec@lists.infradead.org, linux-kernel@vger.kernel.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 Date: Fri, 6 Dec 2019 09:16:53 -0500 Message-Id: <20191206141653.1199-1-prarit@redhat.com> In-Reply-To: <87zhg6zx31.fsf@linutronix.de> References: <87zhg6zx31.fsf@linutronix.de> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: vhicXEh8O6CvUvqBmFTRSw-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org John Ogness wrote: > Hi Prarit, >=20 > 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. >=20 > 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. >=20 > 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. >=20 > 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. >=20 > 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. >=20 I've run the module overnight on all 4 arches I mentioned above. I didn't see any failures but IIUC the module test runs at max. I'm going to put a load test on these systems that introduces a variable load to interfere with the prbtest module to see if that kicks anything. > 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. > np :) but I should be the one thanking you ;) P. > John Ogness