Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4989636imm; Mon, 14 May 2018 17:24:27 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpqv1Qg2GRGhrIVqndzdf5Z+AB7ugj3CKSVWb3kglEQA71UR8/mXT0hQ6x+dZS7Pra7WbdK X-Received: by 2002:a17:902:7d09:: with SMTP id z9-v6mr12091998pll.4.1526343867390; Mon, 14 May 2018 17:24:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526343867; cv=none; d=google.com; s=arc-20160816; b=chym2mll+vQ0IH/wffyFoTZ5uguUHNGiYQKHxbajqtnorWusvc+SdMhjW+XJJSDKDw Dh+0BZ/2VgT3XciI9gjA6y83pC90HDCwc707pg9gTnX5a+kNH8zwuS+N0t0H+L2NWh9t ks5FBFtarlMuc2K/lAM1PDTLI5xKKRz9SKB7gMu0xZwDkm0PyhV7ZI79+HqXd4Y8UMYd 66ch+907U0ceJCfIAwmmC3nKQgrpvMczzKwWDbTrXQ344JgZDVF9yetrJb4mdAkX2Uul jZ6vSRcMGfbPY4UD6MCzterBaQpkRf4XvmfpU7k5uvtxU/i/fuGFG1XGy0lDA935n/N9 /vhA== 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:date:cc:to:from:subject:message-id :arc-authentication-results; bh=m7C4JDfxF5OfKUdZU+MLeQK95YHn0G5L5iUracZtHHA=; b=uT5M/h0G9HKQN8aFEm3FKzLGNPV3Obgl0V/rO3oxqsqUNz39plGHcSbuRrd9ol7G1z pYnPrRK/6+cp/pUU1GAaZWAqiApUl+QlCc/3sNgMEzp1+nojFPqe8OucSYhuMdsoMTaA rY1SYBEfLBeL5//0rWqWZoHtfLD/QWsDsn+t+4NwEN/dYP06IwUVArUdlRxLgyGPD0tP CN74A3DTw0TvVU6+EIM8rYKmyBz+iwUvGllUtju+lNigcjC2SeIsTk3hvXiCvDkUQcGO /GEnvFCALk0U4RmR8abRqbbVtW+uHUxFkIByd7r/pLJPJDFM2WF69ag9OT7oqTehT2jC 3meQ== 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 s88-v6si10723436pfe.290.2018.05.14.17.24.13; Mon, 14 May 2018 17:24:27 -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 S1752387AbeEOAYE (ORCPT + 99 others); Mon, 14 May 2018 20:24:04 -0400 Received: from smtprelay0073.hostedemail.com ([216.40.44.73]:38774 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752078AbeEOAYD (ORCPT ); Mon, 14 May 2018 20:24:03 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id A357D100E86C5; Tue, 15 May 2018 00:24:02 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::,RULES_HIT:41:355:379:541:599:960:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1539:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3872:3874:4321:5007:6119:7903:8957:10004:10400:10848:11232:11658:11914:12296:12740:12760:12895:13069:13184:13229:13311:13357:13439:14096:14097:14659:14721:21080:21451:21627:30054:30091,0,RBL:47.151.150.235:@perches.com:.lbl8.mailshell.net-62.8.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:0:0,LFtime:19,LUA_SUMMARY:none X-HE-Tag: fly33_7a693e05d7e3b X-Filterd-Recvd-Size: 2079 Received: from XPS-9350.home (unknown [47.151.150.235]) (Authenticated sender: joe@perches.com) by omf09.hostedemail.com (Postfix) with ESMTPA; Tue, 15 May 2018 00:24:01 +0000 (UTC) Message-ID: <0cb282d85c37d9b626933a03574848d17430f04c.camel@perches.com> Subject: Re: [PATCH 18/18] rcu: Use pr_fmt to prefix "rcu: " to logging output From: Joe Perches To: paulmck@linux.vnet.ibm.com Cc: Josh Triplett , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Davidlohr Bueso , linux-kernel@vger.kernel.org Date: Mon, 14 May 2018 17:23:59 -0700 In-Reply-To: <20180514235832.GR26088@linux.vnet.ibm.com> References: <41d9686471d67f6f98d160e5891bf61061515b6d.1525964386.git.joe@perches.com> <20180514202910.GI26088@linux.vnet.ibm.com> <32216d8f154b29400d4c11bae91850591114f7f8.camel@perches.com> <20180514222456.GO26088@linux.vnet.ibm.com> <3c7770a062355650fb61e48a5fbeb9653d98d85a.camel@perches.com> <20180514235832.GR26088@linux.vnet.ibm.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.28.1-2 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-05-14 at 16:58 -0700, Paul E. McKenney wrote: > OK, so if I define pr_fmt as follows, I get the old behavior? > > #define pr_fmt(fmt) fmt yes. > I just queued > a commit to be squashed into my version of your patch 18/18 that adds > this to kernel/rcu/rcu_segcblist.c. This joins the ones that your > patch added to kernel/rcu/srcutree.c and kernel/rcu/tree.c. > > Should I also add "#define pr_fmt(fmt) "rcu: " fmt" to these files? > > kernel/rcu/srcutiny.c > kernel/rcu/sync.c > kernel/rcu/tiny.c Well, I don't actually remember why the define was added to rcu_segcblist.c. Most of this was done via a script which looked for pr_ uses without a pr_fmt in the same file. Dunno why rcu_segcblist was modified. Maybe it was a braino.