From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751675AbdAQXaz (ORCPT ); Tue, 17 Jan 2017 18:30:55 -0500 Received: from smtprelay0091.hostedemail.com ([216.40.44.91]:35817 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751162AbdAQX32 (ORCPT ); Tue, 17 Jan 2017 18:29:28 -0500 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::::::::::::::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1538:1593:1594:1711:1714:1730:1747:1777:1792:2194:2199:2393:2553:2559:2562:2903:3138:3139:3140:3141:3142:3350:3622:3865:3866:3867:3868:3871:3873:3874:4250:5007:6120:6261:6742:7875:7903:10004:10400:10848:10967:11232:11658:11914:12043:12740:12760:12895:13069:13311:13357:13439:14181:14659:14664:14721:21080:21250:30054:30076:30083:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: quiet54_6f631b50db959 X-Filterd-Recvd-Size: 2293 Date: Tue, 17 Jan 2017 18:29:23 -0500 From: Steven Rostedt To: Mathieu Desnoyers Cc: fweisbec , Linus Torvalds , "Paul E. McKenney" , linux-kernel , Josh Triplett , KOSAKI Motohiro , Nicholas Miell , Ingo Molnar , One Thousand Gnomes , Lai Jiangshan , Stephen Hemminger , Thomas Gleixner , Peter Zijlstra , David Howells , bobby prani , Michael Kerrisk , Shuah Khan , Andrew Morton Subject: Re: [RFC PATCH] membarrier: handle nohz_full with expedited thread registration Message-ID: <20170117182923.0da17374@gandalf.local.home> In-Reply-To: <1218197271.6567.1484690198626.JavaMail.zimbra@efficios.com> References: <1484596275-30412-1-git-send-email-mathieu.desnoyers@efficios.com> <1587103499.5523.1484607367124.JavaMail.zimbra@efficios.com> <20170117035521.GB2787@lerouge> <1218197271.6567.1484690198626.JavaMail.zimbra@efficios.com> X-Mailer: Claws Mail 3.14.0 (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 Tue, 17 Jan 2017 21:56:38 +0000 (UTC) Mathieu Desnoyers wrote: > One goal here is to ensure we don't disturb threads that do not wish to receive > those IPIs, so holding the rq lock while we send the IPI still seems to be safer. What type of IPI is being sent? Be careful because IPIs can take the rq lock, and if you are expecting the IPI to finish while holding the rq lock you may introduce a deadlock. -- Steve