Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3235322imm; Fri, 10 Aug 2018 06:07:41 -0700 (PDT) X-Google-Smtp-Source: AA+uWPx6XzEHzrwCFJsfx84wozUnGvYujqEQfz+aRE0CZ+IJ6N9E3yk9Q0gQvb1yNp2Ympjg9UvN X-Received: by 2002:a17:902:8215:: with SMTP id x21-v6mr6072519pln.175.1533906461281; Fri, 10 Aug 2018 06:07:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533906461; cv=none; d=google.com; s=arc-20160816; b=uhgIHxkNCBTWIMfzbSAdSTPapZxKplT5aqM7O/suXSaBvxjkrLrpYHHdGSINKSYwbW vm5JHJGgFh+9lOBd/VoUzutopnhZeV/NN0fa9ED24cDFdXiB8XFznyfxitoZY/BZVq+T zcxWsxZm/IHcw7CtLoLl1jyZlW2o88MUOvGJKq8+GR4b3afj5Z+Buake3XPw8MXy6bdj +BGqCEpssz7wHfE2QMv/JU/teQbqYi020xgDJCQ/HfcxTEisguEV4/eOwITv/689JK4z aEOyUxkHgyMQ5FGstEHWoDQPJLtzXBklP6qo6nctwpBSICO+UJN0cth0/+844GOujOUR R8Tg== 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=FGxmcT3bS8WnzD/fsvCKc2+anI314yQhtrpQrKDxpBs=; b=tnoZ0rB1RJ/vYt9SRv2JeUsfhul3r8OnesXqua6eLwLePO3bBdBP2FFMFS5qTjaQEp hULDGzx6a7UN4Q7NJVcXOaZf5nBsmPkzTTHyOZAaAd/wGW/+HlhpcXgKY3vqSpVDgeDJ Nm4BC298ivYf5IXD1zMOqCIG6oDVNhSk79wG8I8ZZDWiBh0EId3RWIvrtCocex+LrORW QHu3fpy93hbB9mogoEkGUCOReKuNHpqL7jI+U00bt/SxE3/78tZBpgx8aS76u56Gmvj+ 74J2bbZnehX7uUH5piB+ElPipnXYn7srbYxK78cnSYnAD5rDcVwPXuYmal65VFMwnX9v YKDg== 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 t1-v6si9899291pgg.643.2018.08.10.06.07.26; Fri, 10 Aug 2018 06:07:41 -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 S1728273AbeHJPfz (ORCPT + 99 others); Fri, 10 Aug 2018 11:35:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:59272 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727539AbeHJPfy (ORCPT ); Fri, 10 Aug 2018 11:35:54 -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 67E942186B; Fri, 10 Aug 2018 13:06:03 +0000 (UTC) Date: Fri, 10 Aug 2018 09:06:01 -0400 From: Steven Rostedt To: Joel Fernandes Cc: Masami Hiramatsu , "Joel Fernandes (Google)" , LKML , "Cc: Android Kernel" , Ingo Molnar , Paul McKenney , Mathieu Desnoyers , Namhyung Kim , Peter Zijlstra Subject: Re: [PATCH ftrace/core] tracing: irqsoff: Account for additional preempt_disable Message-ID: <20180810090601.32de3915@gandalf.local.home> In-Reply-To: References: <20180806034049.67949-1-joel@joelfernandes.org> <20180806230536.ef217b2c2c008838606bedc3@kernel.org> <20180810215511.60d5882c8efd271c01043881@kernel.org> 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 Fri, 10 Aug 2018 06:01:34 -0700 Joel Fernandes wrote: > > Even though, it should be verified or atleast commented on the function header. > > Ok. ftrace/core has been fixed since since so this patch is outdated > and isn't needed any more, but I agree a separate patch doc comment > would help make it clear about this fact. Both IRQ and preempt > tracepoints work this way, they fire only within their critical > section. Note, I'm keeping the patch in the git history. As an artifact that can be found easily when looking at this code for further enhancements. Feel free to send a patch that adds comments to these callbacks. -- Steve