Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp233075imm; Tue, 7 Aug 2018 17:49:31 -0700 (PDT) X-Google-Smtp-Source: AA+uWPx9TXp9Am2RHke2eXAL4gtuz/ueWoiXDlWhVbMvC9nT6wphSQAvlR3/XQWjOkIxkdz0Miag X-Received: by 2002:a62:8a4f:: with SMTP id y76-v6mr576664pfd.233.1533689371363; Tue, 07 Aug 2018 17:49:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533689371; cv=none; d=google.com; s=arc-20160816; b=p7bb7rqaqLTTA+Eezi2xKRIAcqA8vcyTJJ9BAHm+na+4M0d+FfWtbF7lHY1iXCxurt T/p0PXls2P8Rs+Zgz9YqBi5+ggtuOgwga2qQ9URoPB+I4TlDVjtWw9i1mMNUNU5poCom kiHdwcuh4iNLrA1i0fQbFLoZ4zyTmVPdAFoR+Z1YlSW01Blva3bi4oN/fLerMeuViEJG QU6aMGkimWcQWa7uwxn2BoAruzqokHmqGRinlWp+SqJaZdMbSkbAiZ187pZ+vfGmgf79 5L6pYEXuAIkpze9sNIU3UHcK6UeaQ4IKMtQUy3hxzaMZIPXvwOpKUwqNaZrqqa9YgsLV KZHw== 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=meeBB2s+XR5kii8HQt0bvaZ5cKO6o3JVPgRw0JULfro=; b=EThq5CbuhEGoGBDQG+lTFhhy99AkOHECsOLPNzT5tC+esbCfz9q2r5x4SgQqfjMzjJ QCW2wOZwK2M7Aq9N2aygPEJZizauxN40O8AEOlKiTjm4eZbIk/fnx8uCzmVYjzYFAhoO Kb4eXilCWpQ3/slo6iV0ONjrR7BGxfH2jrwKwK84eqHVJFcGPMopPhQTLAU4R1ojA6Tz c/fcrj2Ye4QKvZ31DfzZq387lRDeXiF8hRuFxuzrmT7Bo6BunMnmdtGsxYi5jrIl0TwY 15LW7DaNY2skCYilrHyrG/xGk/YEXr5G5+GnJwOIR4u/bDXLY+s/aJeuPCXenA2pbFoP gNfQ== 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 f127-v6si3096273pfb.290.2018.08.07.17.49.15; Tue, 07 Aug 2018 17:49:31 -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 S1726902AbeHHDFY (ORCPT + 99 others); Tue, 7 Aug 2018 23:05:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:55038 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726503AbeHHDFX (ORCPT ); Tue, 7 Aug 2018 23:05:23 -0400 Received: from vmware.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 3D950216F5; Wed, 8 Aug 2018 00:48:22 +0000 (UTC) Date: Tue, 7 Aug 2018 20:48:20 -0400 From: Steven Rostedt To: Joel Fernandes Cc: Joel Fernandes , LKML , "Cc: Android Kernel" , Boqun Feng , Byungchul Park , Ingo Molnar , Masami Hiramatsu , Mathieu Desnoyers , Namhyung Kim , Paul McKenney , Peter Zijlstra , Thomas Glexiner , Tom Zanussi Subject: Re: [PATCH v12 3/3] tracing: Centralize preemptirq tracepoints and unify their usage Message-ID: <20180807204820.50b83c6d@vmware.local.home> In-Reply-To: <6D0A3FD6-2190-4CC0-A3C0-7B3759E73243@google.com> References: <20180730222423.196630-1-joel@joelfernandes.org> <20180730222423.196630-4-joel@joelfernandes.org> <20180806155058.5ee875f4@gandalf.local.home> <20180806214300.13e63523@gandalf.local.home> <20180807094954.5137972d@gandalf.local.home> <446AE5F2-39E0-46B6-8E0B-207E003DBF20@google.com> <20180807103410.4fe203cb@gandalf.local.home> <20180807110906.3a1b0ac4@gandalf.local.home> <6B9E5DC9-0859-41B4-9B72-A7D85E9EA2AD@google.com> <20180807194515.4e549c1a@gandalf.local.home> <6D0A3FD6-2190-4CC0-A3C0-7B3759E73243@google.com> X-Mailer: Claws Mail 3.15.1 (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 Tue, 07 Aug 2018 19:54:13 -0400 Joel Fernandes wrote: > >OK, I hit this bug, but it's not because of the partial revert. This > >bug seems it needs to be another partial revert. I like you movement of > >the code, but I'm starting to doubt that we can use a trace event as a > >hook for critical areas yet. Well, not until we can use srcu in NMI. > > > > I sent a patch to use srcu for all tracepoints including nmi. That > patch also removes this warning and fixes the one other issue masami > reported (hot plug causing a warning). Is it one I can take, or does Paul have it? I'll need it to continue with this as is, because I can't pass my tests without triggering that warning (and that fails the test). > > If Paul and Mathieu can confirm SRCU works on offline CPUs that would > be great. Yes please. > > It's just this one warning or anything else that makes you feel > tracepoints for critical paths isn't feasible? Currently I'm down to this, but I can't get past my first test in my ktest suite, because it fails here. -- Steve