From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751601AbdGYSOO (ORCPT ); Tue, 25 Jul 2017 14:14:14 -0400 Received: from smtprelay0200.hostedemail.com ([216.40.44.200]:36931 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750860AbdGYSON (ORCPT ); Tue, 25 Jul 2017 14:14:13 -0400 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:968:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1538:1568:1593:1594:1711:1714:1730:1747:1777:1792:2393:2553:2559:2562:2691:2895:3138:3139:3140:3141:3142:3622:3865:3866:3867:3868:3871:4321:5007:6261:6742:7875:8604:8660:8957:9393:10004:10400:10848:10967:11026:11232:11658:11914:12296:12438:12740:12760:12895:13069:13148:13230:13311:13357:13439:14181:14659:14721:14819:21080:21451:21627:30054:30070:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: rest70_4187ea99a882d X-Filterd-Recvd-Size: 1709 Date: Tue, 25 Jul 2017 14:14:05 -0400 From: Steven Rostedt To: "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, mingo@kernel.org, jiangshanlai@gmail.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, peterz@infradead.org, dhowells@redhat.com, edumazet@google.com, fweisbec@gmail.com, oleg@redhat.com Subject: Re: [PATCH tip/core/rcu 03/15] rcu: Drive TASKS_RCU directly off of PREEMPT Message-ID: <20170725141405.21979f48@vmware.local.home> In-Reply-To: <1500932684-10469-3-git-send-email-paulmck@linux.vnet.ibm.com> References: <20170724214425.GA9665@linux.vnet.ibm.com> <1500932684-10469-3-git-send-email-paulmck@linux.vnet.ibm.com> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 24 Jul 2017 14:44:32 -0700 "Paul E. McKenney" wrote: > The actual use of TASKS_RCU is only when PREEMPT, otherwise RCU-sched > is used instead. This commit therefore makes synchronize_rcu_tasks() > and call_rcu_tasks() available always, but mapped to synchronize_sched() > and call_rcu_sched(), respectively, when !PREEMPT. This approach also > allows some #ifdefs to be removed from rcutorture. > Hmm, I'll need to update ftrace. I believe I call synchronize_sched() twice with !PREEMPT then. -- Steve