Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp18979imm; Thu, 12 Jul 2018 13:16:34 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfFBSDNFdjTo5lMKElMpPOR2gf4SzobXNQaEw7X2Yx3weunw4DFEcT125IsWSP8ziUbPQ9m X-Received: by 2002:a62:d1b:: with SMTP id v27-v6mr3921945pfi.87.1531426594272; Thu, 12 Jul 2018 13:16:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531426594; cv=none; d=google.com; s=arc-20160816; b=wKpDUawavSJoh3XtMDg5/95GgacELcgpwFOZQqyizroJFN9G5sqlE/hNZd4WCS/D1T AHekSw5wwk02ysqnfDKh84wLsIWrNPm44TwAoZEjq3YCmId8cvuvygDT0MEd5nhhn/Z+ B1VSjR7SQ8TChwYc7ocIIlEpcb+30CqOQ4WTmKDCWb3EVL9N7lfd8BtYHIKTCAmCDbqc NTo+c7ydwzxkUc98zvAwj1n8G+ga0DI32aRJ1DxUv+CxJTJEWWBZ/8D5Yw3omDlCgGLD 1jZhR3rYXIxk6DvJjbjNgSnLQR56qC6b0dQ7UkDuWgZW9vnaczF65+IuogulpJaIbmXM 4dmw== 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:subject:cc:to:from:date :arc-authentication-results; bh=QAFtyljCMGxgD4p21m76+cz3M707j2K9vcIA4hn4ec4=; b=OrxIcSMZVfSv9bg/kWEX3+o25KeFPkEdC0eTfw1cO4cnvdTU2MBuxKOjLnH0GQFMBL VtInyG45iGzPboHNQ7RSXIaVBD8D2oBIRgbxA0N0H82VKHMMfP1qMO6uvSPQeoqocwMy AxEnsQja/C3pE0z0jWQG74gNprAsM51UO9cMdrcmnUievDsD3/lS6LvLZm0CM9v5SRky 0+USFiqqVxQQmP9bfZSQSWweLIbtiFaI0k0Fmm6y58ioTjlw7L1qO/lZ9AJdMpRTEqEM hvq5QGrcuy24bDht2+ZgwA0ja6CRJd1Xrjtjry4m3bEML6N0YZ7TIBTwxNDTKZcnc6uz QPCw== 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 z8-v6si21983652pgr.260.2018.07.12.13.16.18; Thu, 12 Jul 2018 13:16:34 -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 S1732437AbeGLU0u (ORCPT + 99 others); Thu, 12 Jul 2018 16:26:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:57112 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727082AbeGLU0u (ORCPT ); Thu, 12 Jul 2018 16:26:50 -0400 Received: from gandalf.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EA6FC20870; Thu, 12 Jul 2018 20:15:40 +0000 (UTC) Date: Thu, 12 Jul 2018 16:15:38 -0400 From: Steven Rostedt To: Joel Fernandes Cc: "Paul E. McKenney" , Peter Zijlstra , linux-kernel@vger.kernel.org, Boqun Feng , Byungchul Park , Ingo Molnar , Julia Cartwright , linux-kselftest@vger.kernel.org, Masami Hiramatsu , Mathieu Desnoyers , Namhyung Kim , Thomas Glexiner , Tom Zanussi Subject: Re: [PATCH v9 4/7] tracepoint: Make rcuidle tracepoint callers use SRCU Message-ID: <20180712161538.0737ba7f@gandalf.local.home> In-Reply-To: <20180712191701.GA107829@joelaf.mtv.corp.google.com> References: <20180628182149.226164-1-joel@joelfernandes.org> <20180628182149.226164-5-joel@joelfernandes.org> <20180711124954.GE2476@hirez.programming.kicks-ass.net> <20180711090003.42596c2b@gandalf.local.home> <20180711142744.GN3593@linux.vnet.ibm.com> <20180711104618.05dc4b46@gandalf.local.home> <20180711205249.GA32091@joelaf.mtv.corp.google.com> <20180711232120.5dbfa1c7@vmware.local.home> <20180712042825.GA154647@joelaf.mtv.corp.google.com> <20180712093512.1f612a24@gandalf.local.home> <20180712191701.GA107829@joelaf.mtv.corp.google.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 12 Jul 2018 12:17:01 -0700 Joel Fernandes wrote: > AFAICT, _notrace doesn't call into lockdep or tracing (there's also a comment > that says so): > > /** > * srcu_dereference_notrace - no tracing and no lockdep calls from here > */ Note, I had a different tree checked out, so I didn't have the source available without digging through my email. > > So then, we should use the regular variant for this additional check you're > suggesting. OK, I thought we had a rcu_dereference_notrace() that did checks and thought that this followed suit, but it appears there is no such call. That's where my confusion was. Sure, I'll nuke the notrace() portion, thanks. Also, I've applied 1-3, since 4 and 5 looks to be getting a remake, I'm going to remove them from my queue. Please fold the SPDX patch into 5. Thanks! -- Steve