Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932381AbbBZOGP (ORCPT ); Thu, 26 Feb 2015 09:06:15 -0500 Received: from smtprelay0231.hostedemail.com ([216.40.44.231]:57907 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932161AbbBZOGN (ORCPT ); Thu, 26 Feb 2015 09:06:13 -0500 X-Session-Marker: 6E657665747340676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::,RULES_HIT:41:355:379:541:599:800:960:968:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1539:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3871:3872:3874:5007:6119:6261:7875:7903:10004:10400:10471:10848:10967:11232:11658:11914:12517:12519:12663:12740:13069:13255:13311:13357:13868:21080,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 X-HE-Tag: egg35_532c214de1550 X-Filterd-Recvd-Size: 1975 Date: Thu, 26 Feb 2015 09:06:10 -0500 From: Steven Rostedt To: Sebastian Andrzej Siewior Cc: Thavatchai Makphaibulchoke , Thavatchai Makphaibulchoke , linux-kernel@vger.kernel.org, mingo@redhat.com, tglx@linutronix.de, linux-rt-users@vger.kernel.org Subject: Re: [PATCH 3.14.25-rt22 1/2] rtmutex Real-Time Linux: Fixing kernel BUG at kernel/locking/rtmutex.c:997! Message-ID: <20150226090610.7eb0ac61@gandalf.local.home> In-Reply-To: <20150226135630.GD12992@linutronix.de> References: <1424395866-81589-1-git-send-email-tmac@hp.com> <1424395866-81589-2-git-send-email-tmac@hp.com> <20150223133719.2b7c604e@gandalf.local.home> <54EBC2DB.3050904@hp.com> <20150223195743.546b2ef0@grimm.local.home> <20150226135630.GD12992@linutronix.de> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; 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 Content-Length: 965 Lines: 23 On Thu, 26 Feb 2015 14:56:30 +0100 Sebastian Andrzej Siewior wrote: > I am not sure if we want keep doing that. The only reason why we grab > the lock in the first place was to check if there is a timer pending > and we run on the isolated CPU. It should not matter for the other CPUs, > right? > So instead going further that road, what about storing base->next_timer > someplace so it can be obtained via atomic_read() for the isolated CPUs? > If we can pull that off and remove all rtmutex trylocks from hardirq context, I would much rather do that. This hocus pocus coding is just going to lead us down the path of the black arts. I already have a black cat, so I'm good to go. -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/