Received: by 10.192.165.148 with SMTP id m20csp5042540imm; Tue, 1 May 2018 08:08:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoFqWCQ/aDkKaOOtlqbKEt365PEwGKxpJgeEjh0WEPNyWZYYiJVv/Sn1iL97eoOg4shlf1d X-Received: by 2002:a65:4a48:: with SMTP id a8-v6mr2540607pgu.395.1525187327503; Tue, 01 May 2018 08:08:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525187327; cv=none; d=google.com; s=arc-20160816; b=thogGFy4WS3IvOSC08J9sgy7g89pDiaP3wDji/mH6R2KeK5slMv2Dn9TRSbPt7MIUz Sr9aBXhh8dBNQlOy86wekSFNmtmuTcjO4znPLJzaCX35h/bzWwjFxODiDSyMPQrV8+6z f4Fwb/FJwvCAuHfEr14zgTZx9inLUpjCyW0Ct7uA64oJ03efMGuL4oi2DJwilNSpvEX4 sE7yPXi2HL6MUItZVA7ulsKXoh4IZLTTQkYo4CTD/0Fk5msQxIj3X0Q3yYIZ3CBh0bpP PtNBy3YNTwPrgvvKy7hOdR2VwySbWLxn8g7NIxRyImEPgwIpymQHAIpBMBwApG6Tm3DY kTKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=2g8fJoQ/qSTaAkTewIDuUKOLWsLtZsocErRJQZA78pk=; b=cFS6xLhpZ41m+Sdjv5cwKOfDbmzbF95JDbrUt58b+bfs6z74BYop8IGfOcPrUQdd1i JSfzvNmBD3H0cU16M/UzB3I0to+0P18EPaJNAeorv9vqeQ3ve/AVGBwk1SCOYG35Iee+ iszZ43ynOkKuoNUhp4FYQE3TFucnZjSbLu97ZnF26a/SzRSGiHveeg/Ylsbn2SE99kzW rV75JjXvL5OdD4MO9ZZSpDdz+MPjEzJ17b2zHUuF/amdVxJXghJG8jZhY/AiijsEAp88 /jCU0yx1g5ys3f2m1jmomKrvMl4J0UkgCftOLZQ9BhfXTqQMwigXXgHcoUAq1KMGkYrC deiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=bIBlaNQ5; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x1-v6si9522875plv.520.2018.05.01.08.08.32; Tue, 01 May 2018 08:08:47 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=bIBlaNQ5; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755544AbeEAPHO (ORCPT + 99 others); Tue, 1 May 2018 11:07:14 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:40782 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754798AbeEAPHN (ORCPT ); Tue, 1 May 2018 11:07:13 -0400 Received: by mail-it0-f67.google.com with SMTP id j186-v6so13418964ita.5 for ; Tue, 01 May 2018 08:07:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2g8fJoQ/qSTaAkTewIDuUKOLWsLtZsocErRJQZA78pk=; b=bIBlaNQ5zxeq2NGzkA3sLupSoKwGCttyUUbHTYIDBJTb93fvj0dYxzcE7sGLM5QZeQ qeOBZxmQRKT29AWUK9eNmKKFD2rBu0V10MMwu8ZXHHfAR64QJ5Fkw5W3m4YHWycWKiCX 29GdeoiCGF1VirkE8wbE6uFFbzEVdWtT1bb2LnLKXA3ZGxsAkJuHmwhmkINIrOV7xEL7 FYi0Al/KJRm43ehDXCXBxaETyl/uClUMSUuB3Z9L5hxOpjh93nx5sw7PBnEKlP0vj5kv WHDmrGd69dKdmB+u2vChYTyOVdqPY5ilpsDQDBH5tLMPAg3uf+ZEjHRhFCeDTIk6T0IV LPJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2g8fJoQ/qSTaAkTewIDuUKOLWsLtZsocErRJQZA78pk=; b=SdZCOLq7WsjdTlDTETb5iSZVApD52H7SEQ9nBqbNUCd0ABqDEfW8G7hRmiOuw+TZ7t BtCpmA/XlqSCGy9yZPNO6Vs8YH47rT4ZqBRjda31wIuBT3UebMbTdBY9yuxdGfFh+c9V /ttCIOEowz4C+egr3D7SCuOS9nikJO+J2UeJXXVr1HG6CvSFGRUVSeYX8bq0hHSKms5i AiD5xQI3AsOh5KT9PMsGi+dy3/odeTwvTR+zACpeQIMZZx8QHINNFWKaKefakDQ8Fgvt JU92BSOVIGcG2PkOWeNrPhCVicJpaaxtM8pgeEIvwHQHqurKpy85RBxAOC0su4frdi46 7/OQ== X-Gm-Message-State: ALQs6tBUC/2Qk9tL79uIOeUSiwWv8s6HlTdkwVW1HW8Z5qnUX/7sGCXK Yd0W2KAabu2W9a0+4QL8Q5Zib2lH/1qwlH9Eds9KdQ== X-Received: by 2002:a24:438f:: with SMTP id s137-v6mr14236679itb.28.1525187231982; Tue, 01 May 2018 08:07:11 -0700 (PDT) MIME-Version: 1.0 References: <20180501014204.67548-1-joelaf@google.com> <20180501014204.67548-4-joelaf@google.com> <20180501100623.7ebec465@gandalf.local.home> In-Reply-To: <20180501100623.7ebec465@gandalf.local.home> From: Joel Fernandes Date: Tue, 01 May 2018 15:07:01 +0000 Message-ID: Subject: Re: [PATCH RFC v5 3/6] srcu: Add notrace variant of srcu_dereference To: Steven Rostedt Cc: LKML , Peter Zijlstra , Ingo Molnar , Mathieu Desnoyers , Tom Zanussi , Namhyung Kim , Thomas Gleixner , Boqun Feng , Paul McKenney , "Cc: Frederic Weisbecker" , Randy Dunlap , Masami Hiramatsu , Fenguang Wu , Baohong Liu , Vedang Patel , "Cc: Android Kernel" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 1, 2018 at 7:06 AM Steven Rostedt wrote: > On Mon, 30 Apr 2018 18:42:01 -0700 > Joel Fernandes wrote: > > In this series, we are making lockdep use an rcuidle tracepoint. For > > this reason we need a notrace variant of srcu_dereference since > > otherwise we get lockdep splats since lockdep hooks may not have run > > yet. This patch adds the needed variant. > This change log is rather confusing. Why would lockdep use an rcuidle > tracepoint? I think we need to explain more here. Patch 6/6 registers lockdep onto irq_disable and irq_enable tracepoints which use rcuidle: https://github.com/torvalds/linux/blob/master/kernel/trace/trace_irqsoff.c#L791 I can add more details to the change log about this. thanks, - Joel