Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4995167imm; Mon, 14 May 2018 17:31:04 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoScjtMmFL5eF/wLwSEtbXVCBsdX2ItmTied2YYFCjEsZ3rOiv//iMCPBMxZRGlrTk/9Z9B X-Received: by 2002:a63:7344:: with SMTP id d4-v6mr9944610pgn.273.1526344264286; Mon, 14 May 2018 17:31:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526344264; cv=none; d=google.com; s=arc-20160816; b=pd7eESokFNm2+mQ0Lc7ZR0hsIQtz+d8+SzwndjaE7pwbzqufikrd58Wpxfvetl1W/u 1ERfrLcUjYyId4BLyOozC3jhpXrdD36KkDRiIeRUpubGfI1FwT1SPD/eAjr9MkU6BBMy U7u77E4D0+kIXoNYFdgZe3l1v6Qa6Xemc7XNZSybT/tLheINxiciT3pV2taIuZeGpnNj j99tttIUMMPAvcuYjIlw/2IKQS8f30Rb7pcYFRVSq1DiI4a2usBlUWpYAYNOKFOGtxmi 4n5dnGobeC91GXxLmzsxLUT0btrY6s0IR7VdEV7FoTHiu4B77EGeO0nA9OFm6rDNWRBJ 7m8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:subject:cc:to :from:date:arc-authentication-results; bh=blri1A8wEjp8YYfn1neLk2aQevANSmqfAF0Gik0d1+A=; b=nA/pNelsH2t7qTJnVlI1kWGs8C8uWeMKyv+f2ZcsE+aaoVgepReF0PltdsmYl7OmxB LC7zhrZbKgRYbGCZ+K/Fx6IvwLuDIrk1Giwz1MrBx1Zr8TB/KfVfxSK6GWwuortfqD6t 65hojkphSoekF4XpRSasXYQIOgZwYJQD3mqs/3ZI1v2xINuExBqh0/7Az8x9BA/aYzNn tm8w4dEz9FRK1nStsGf7qJNlcdtePdfZJQrsHE/nHFHp8bHlIfhGR/o2aU1jPXm6EK0T mg8Py8CWwz+Msipw1m9AAwgOwdOKAj4H5uEwYIE4DUWnJWpzjPtwjdO5J1OH6tudzIXS 3v9w== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q62-v6si8749783pgq.297.2018.05.14.17.30.49; Mon, 14 May 2018 17:31:04 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752374AbeEOAak (ORCPT + 99 others); Mon, 14 May 2018 20:30:40 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:34944 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752222AbeEOAai (ORCPT ); Mon, 14 May 2018 20:30:38 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4F0TKTA141296 for ; Mon, 14 May 2018 20:30:38 -0400 Received: from e14.ny.us.ibm.com (e14.ny.us.ibm.com [129.33.205.204]) by mx0a-001b2d01.pphosted.com with ESMTP id 2hykjvavxj-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 14 May 2018 20:30:38 -0400 Received: from localhost by e14.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 14 May 2018 20:30:36 -0400 Received: from b01cxnp22034.gho.pok.ibm.com (9.57.198.24) by e14.ny.us.ibm.com (146.89.104.201) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 14 May 2018 20:30:34 -0400 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w4F0UYDp50266116; Tue, 15 May 2018 00:30:34 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3F3E6B2050; Mon, 14 May 2018 21:32:32 -0400 (EDT) Received: from paulmck-ThinkPad-W541 (unknown [9.70.82.108]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP id 079B9B2046; Mon, 14 May 2018 21:32:32 -0400 (EDT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id C8C3816C3286; Mon, 14 May 2018 17:32:05 -0700 (PDT) Date: Mon, 14 May 2018 17:32:05 -0700 From: "Paul E. McKenney" To: Joe Perches Cc: Josh Triplett , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Davidlohr Bueso , linux-kernel@vger.kernel.org Subject: Re: [PATCH 18/18] rcu: Use pr_fmt to prefix "rcu: " to logging output Reply-To: paulmck@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> <0cb282d85c37d9b626933a03574848d17430f04c.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0cb282d85c37d9b626933a03574848d17430f04c.camel@perches.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18051500-0052-0000-0000-000002EE86FC X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009027; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000260; SDB=6.01032402; UDB=6.00527796; IPR=6.00811534; MB=3.00021115; MTD=3.00000008; XFM=3.00000015; UTC=2018-05-15 00:30:36 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18051500-0053-0000-0000-00005CAF728B Message-Id: <20180515003205.GT26088@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-14_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1805150003 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 14, 2018 at 05:23:59PM -0700, Joe Perches wrote: > 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. OK, then I will queue patches with this for the near term for the various torture files. > > 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. So this change does not affect WARN_ON_ONCE() and friends? (That was my guess.) If not, I will revert my squash patch. And it could also be that the files changed between your running the script and sending the patch. Thanx, Paul