Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4176964imu; Mon, 12 Nov 2018 07:02:55 -0800 (PST) X-Google-Smtp-Source: AJdET5cXWtlSoPv6J2ApcFabg3FMty0g6vWL//vclsJWIYO01HB9aN7f1P3/QJWx48jZ6UJQ4b1G X-Received: by 2002:a65:5a8e:: with SMTP id c14mr1094881pgt.137.1542034975760; Mon, 12 Nov 2018 07:02:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542034975; cv=none; d=google.com; s=arc-20160816; b=aTH+fN9+OGzOeHW9xsHa+dxiZD/bIG53PJpXuQo6IlO68FR2zCWWgAgRyH8Kg8J+aU x2T1xfxLZnnOF1Ouz8zX//+VmIp0TVM4iN3Jm4QSIIXKQgCTghAuO2V767BcfzPywxPt EdDqU1taNbwxw+psxQKssK74CZq7Q2wV6MRlnoKwEurFupWWHEwnNfwVRWrKRvNzY2uw hg6XRdg1GQC8mK8Za3QBXIC4gyM1aeE8nqE6Oq2ZLCg9xJkj15pOwM/Vd5Ou6w2cZ6uX X/2y2zT19Ck9CmQ1FYr+xr6X16P7UW0boLNW7nOVTzRpX35ETNnIQO7bWbu5xvjBvE0y hC0Q== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=Iz9Wcje9Y54PoYI2nmGm/8WC2rMs9YchpN3BEIDRIfk=; b=yeokSzzIue1IBX6FpwFyFrKUNrJCgbfSteY/hSR7V0zpzIgvvsVmPxmz1ft81qj6eD UKNKpStEu5FxWeVlPdMEcg6zs+cUWJ1yeZ4QEF/MQqa2Mu3lKcTfpx4ulcyqMrD1UwXk mqnyiaaZz6ovOqFXDmhCopVxxucy8azcH9yaJ4Y3hSFnO84TEh3S8v0evDGqNifJPb95 BBMWS38X/ePNxPw9AZDkUre7v1uuJaViDyS17Nw0QFaXhOu4tewqf/Q72Y+Ie7aRnq1l /LNS0lqj7yWP3vgJNbrFoAkwDpXEWtlZljOnrBZxuJ6+cL/MVxK0EAPNG0XdBXNodN7K M0cQ== 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 h10-v6si7303122plt.44.2018.11.12.07.02.35; Mon, 12 Nov 2018 07:02:55 -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 S1729371AbeKMAzs (ORCPT + 99 others); Mon, 12 Nov 2018 19:55:48 -0500 Received: from smtprelay0207.hostedemail.com ([216.40.44.207]:44135 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726385AbeKMAzs (ORCPT ); Mon, 12 Nov 2018 19:55:48 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id 094B718227D91; Mon, 12 Nov 2018 15:02:10 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 90,9,0,,d41d8cd98f00b204,joe@perches.com,:::::::::,RULES_HIT:41:355:379:599:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2538:2553:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3870:3871:3872:3874:4321:4605:5007:7901:7903:10004:10400:10848:11026:11232:11473:11658:11914:12048:12296:12438:12555:12740:12760:12895:13069:13095:13311:13357:13439:13870:14181:14659:14721:21080:21433:21451:21627:21740:21741:30054:30067:30075:30090:30091,0,RBL:47.151.153.53:@perches.com:.lbl8.mailshell.net-62.14.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:1:0,LFtime:29,LUA_SUMMARY:none X-HE-Tag: moon00_8728da11fe052 X-Filterd-Recvd-Size: 2014 Received: from XPS-9350.home (unknown [47.151.153.53]) (Authenticated sender: joe@perches.com) by omf03.hostedemail.com (Postfix) with ESMTPA; Mon, 12 Nov 2018 15:02:08 +0000 (UTC) Message-ID: <6cc250180e2cea8726a08c35f1020b200cc2bd5e.camel@perches.com> Subject: Re: [PATCH RFC] locking/lockdep: replace simple printk by pr_info From: Joe Perches To: Corentin Labbe , mingo@redhat.com, peterz@infradead.org, will.deacon@arm.com Cc: linux-kernel@vger.kernel.org Date: Mon, 12 Nov 2018 07:02:07 -0800 In-Reply-To: <1542027794-2255-1-git-send-email-clabbe@baylibre.com> References: <1542027794-2255-1-git-send-email-clabbe@baylibre.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.30.1-1build1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2018-11-12 at 13:03 +0000, Corentin Labbe wrote: > While working on detector of new warn/err/crit/... messages, I found that the > following messages was printed with the warn loglevel: > [ 0.001607] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar > [ 0.001625] ... MAX_LOCKDEP_SUBCLASSES: 8 > [ 0.001641] ... MAX_LOCK_DEPTH: 48 > [ 0.001658] ... MAX_LOCKDEP_KEYS: 8191 > [ 0.001673] ... CLASSHASH_SIZE: 4096 > [ 0.001689] ... MAX_LOCKDEP_ENTRIES: 32768 > [ 0.001704] ... MAX_LOCKDEP_CHAINS: 65536 > [ 0.001719] ... CHAINHASH_SIZE: 32768 > [ 0.001735] memory used by lock dependency info: 4623 kB > > While the cause is still unknown to me, converting printk to pr_info fixed the issue. because in lib/Kconfig.debug config MESSAGE_LOGLEVEL_DEFAULT int "Default message log level (1-7)" range 1 7 default "4" help Default log level for printk statements with no specified priority. This was hard-coded to KERN_WARNING since at least 2.6.10 but folks that are auditing their logs closely may want to set it to a lower priority.