Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6006741ybh; Wed, 7 Aug 2019 15:28:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqykuORTiJxFMfYfxX+Ke1VicjRqrxUEdqX9i+TV+ArsAC/ABc/y+ZEqlH0KTfzt/weBdo7S X-Received: by 2002:a62:8246:: with SMTP id w67mr12056872pfd.226.1565216916079; Wed, 07 Aug 2019 15:28:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565216916; cv=none; d=google.com; s=arc-20160816; b=QyZ6DnKcKZSd06RVoucezD2fL7DNn+X88aKNQ8/5n5PEpPhBtRqJXNM2g9yWrn7fHc Svaa1E0wzQFrcTQzmqihfRb9roMpMaIrK//w3sST4V6ouknE2+LEztdIrBxlXSl4U38w ABKyJyqFTWV3XzV0DG/Qr6wdb1me87vlG8GI2jMz6oxoWjm5vJ8jVOoPl+p/a6EYkpN9 NWvwne1s+/AenwS72cWUwB6dNUZf4NwT7cK6N1T4+efQ1lFuErRpo+8HYzyLimvtMPiV js00nalCLrVmDvEeuqvdcFZgtFpwCv59gvEQyZ/5fwCXP9BOM1L1bVrx6amViH7A3m3Z Jj5g== 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; bh=nBEdZ2X5fKfro8r4rLHDcIQ99nRsT9bGp5M+RZyqWUs=; b=St3fvKc317igjnsCbzABdMoIMqTxli3X3eW9MrFaxE2IOmT3cTTeAaxm0sLdE0ABV8 q+lirD7ZpgDou6Vf0WsP1To+bwknnT+OFuOGHjoaHjGPXpWmF+62SfVF69rXlTj3PISH QktnG3lFcPJT2bgZ4kmQzN6O1MLSou1ZNHDqVZTYVu6iCoxaRvvhcvtIDhaFUJlWBIUt SXi41U2Tvs2w1x7CT+Yr2zbhYX6mW3/M7agxQyx0y6+EwDH2flNhkHE6q0qJIcPeEhe4 9fEzZs5FNHUqFyZqYrs3Mm7qm6e+9ayaP81+CF4qwaqfXf4otZ57eC87+OEVjtuNGHPd f7IA== 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 c11si48605788pga.118.2019.08.07.15.28.21; Wed, 07 Aug 2019 15:28:36 -0700 (PDT) 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 S2389519AbfHGW1c (ORCPT + 99 others); Wed, 7 Aug 2019 18:27:32 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:51821 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388848AbfHGW1b (ORCPT ); Wed, 7 Aug 2019 18:27:31 -0400 Received: from [5.158.153.52] (helo=g2noscherz.tec.linutronix.de.) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1hvUOm-0007mg-EJ; Thu, 08 Aug 2019 00:27:14 +0200 From: John Ogness To: linux-kernel@vger.kernel.org Cc: Peter Zijlstra , Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Linus Torvalds , Greg Kroah-Hartman , Andrea Parri , Thomas Gleixner , Sergey Senozhatsky , Brendan Higgins Subject: [RFC PATCH v4 6/9] printk-rb: adjust test module ringbuffer sizes Date: Thu, 8 Aug 2019 00:32:31 +0206 Message-Id: <20190807222634.1723-7-john.ogness@linutronix.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190807222634.1723-1-john.ogness@linutronix.de> References: <20190807222634.1723-1-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ringbuffer documents that the expected average size value should be lower than the actual average. For the test module the average should be 64, so set the expected average to 5 bits (32). Signed-off-by: John Ogness --- kernel/printk/test_prb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/printk/test_prb.c b/kernel/printk/test_prb.c index 1ecb4fcbf823..77d298b6990a 100644 --- a/kernel/printk/test_prb.c +++ b/kernel/printk/test_prb.c @@ -63,7 +63,7 @@ static void dump_rb(struct printk_ringbuffer *rb) trace_printk("END full dump\n"); } -DECLARE_PRINTKRB(test_rb, 7, 5); +DECLARE_PRINTKRB(test_rb, 5, 7); static int prbtest_writer(void *data) { -- 2.20.1