Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp957330imm; Wed, 20 Jun 2018 09:13:44 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIwHLFZCiFHhk0bOOGN6jmOk9uFDBfDWZb4D+pXUx2P9f7dC/spS6mSAdqcE34hiopYnQ5v X-Received: by 2002:a63:902:: with SMTP id 2-v6mr18981544pgj.3.1529511224180; Wed, 20 Jun 2018 09:13:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529511224; cv=none; d=google.com; s=arc-20160816; b=Seek74gpL3r1l0HRt6sHr6vt4ibeDg7f4K6iQ/kQcY2W6LfQZY8Ahz+GPjoUCBel5n VPhxR/yTaXZ/wrUVGXQvl87kdRTa+lEAQj8J0+z4pg84mLv8/cXMYm/KAZItRF9EOJY4 cuUWNspuFCkMoGkrO64Im2OjZUtzcDWaUH1737LBR53+ew4RmjdyUerhmRVIfjqw58nu fi6sew50AsuOLwIxQFkHCboTOvgaPm7Cy3rN2Po6xeV5XZ1txIEHHHUHXGf4swBzuLbU XeG38jeAWNzVVTOq9abEvqomczlz+q4YCAjuJLCdRsO2ps7dXuGoR5DeB9hPuXOZp9Gh mAVw== 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=yu/RJJLlnSGgodARy1swFWUmK2BLLuDCWunmrEJTvhc=; b=U/1V/lCleKS49Tng0wEBhVoF4QfokzK5Z7iSkIoEf5t6/+W6gsiXp9tY/YUjLOb3CA z7uHG5mTa6r0FSfDDfttm3E7wavIIUJERpyufCcipejkOu2xJyBcZtAm35lCAZLiV6Ep MHhyUC5Sdv8rbA1hR37kmiJsVqNRXniJrelCpcXGVwcC7uSTzfNC4Z1EVAN9VUfBRVil SrNOWMgvNRzqG/kqrZMwCGMMEc0cq1BaOlJt3LCShNmcaSXX97ZCqaRzu5fqQsYLjDI4 zdqp5+T869J7x8jNogEHolk6uCp6gdhXZhCg/8IZhxg8iPhZct+NtZBQ0FiJLLIIor4W Cr2A== 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 u11-v6si2574737plq.456.2018.06.20.09.13.30; Wed, 20 Jun 2018 09:13:44 -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 S1754339AbeFTQMA (ORCPT + 99 others); Wed, 20 Jun 2018 12:12:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:39036 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754113AbeFTQL7 (ORCPT ); Wed, 20 Jun 2018 12:11:59 -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 05FC020836; Wed, 20 Jun 2018 16:11:57 +0000 (UTC) Date: Wed, 20 Jun 2018 12:11:56 -0400 From: Steven Rostedt To: "Paul E. McKenney" Cc: Byungchul Park , jiangshanlai@gmail.com, josh@joshtriplett.org, mathieu.desnoyers@efficios.com, linux-kernel@vger.kernel.org, kernel-team@lge.com, joel@joelfernandes.org Subject: Re: [RFC 1/2] rcu: Do prepare and cleanup idle depending on in_nmi() Message-ID: <20180620121156.4da98db2@gandalf.local.home> In-Reply-To: <20180620155658.GU3593@linux.vnet.ibm.com> References: <1529484440-20634-1-git-send-email-byungchul.park@lge.com> <20180620145058.GP3593@linux.vnet.ibm.com> <20180620114335.7a314642@gandalf.local.home> <20180620155658.GU3593@linux.vnet.ibm.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 Wed, 20 Jun 2018 08:56:58 -0700 "Paul E. McKenney" wrote: > OK, so in theory this change is safe from a tracing perspective. But > it does add conditionals to a fastpath. Does it? I see it replacing two conditions from both rcu_irq_enter/exit() with a single one in rcu_nmi_enter/exit(). Sure it adds one to rcu_nmi_enter() but that's a far less fast path than rcu_irq_enter(), which this patch removes a conditional from. -- Steve