Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753349AbbBXRlS (ORCPT ); Tue, 24 Feb 2015 12:41:18 -0500 Received: from smtprelay0136.hostedemail.com ([216.40.44.136]:60514 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752336AbbBXRlR convert rfc822-to-8bit (ORCPT ); Tue, 24 Feb 2015 12:41:17 -0500 X-Session-Marker: 6E657665747340676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::,RULES_HIT:41:152:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1513:1515:1516:1518:1521:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2693:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:4250:5007:6261:7875:7903:10004:10400:10848:10967:11232:11658:11914:12296:12517:12519:12740:13069:13146:13230:13311:13357:14096:14097:21063: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: train19_6203ccf566236 X-Filterd-Recvd-Size: 2027 Date: Tue, 24 Feb 2015 12:41:12 -0500 From: Steven Rostedt To: =?UTF-8?B?SsO2cm4=?= Engel Cc: Steven Rostedt , Peter Zijlstra , Ingo Molnar , Gregory Haskins , linux-kernel@vger.kernel.org Subject: Re: RFC: revert 43fa5460fe60 Message-ID: <20150224124112.3d4c728c@gandalf.local.home> In-Reply-To: <20150224171906.GA23307@Sligo.logfs.org> References: <20150224004340.GC31433@Sligo.logfs.org> <20150224103344.5f92a507@gandalf.local.home> <20150224171906.GA23307@Sligo.logfs.org> 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=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1228 Lines: 27 On Tue, 24 Feb 2015 09:19:06 -0800 Jörn Engel wrote: > Well, reverting was my first instinct, but for different reasons I think > it is wrong. Simply reverting can result in the high priority thread > moving from one cpu with a running process to a different cpu with a > running process. In both cases you may trip over a mole, so nothing > much is gained. > > But if you know that the destination cpu is idle, you can avoid any > moles, give or take a small race window maybe. The moles are still > present and you still need some debug tool to detect them and fix them > over time. But as cpus increase over time, your chances of getting > lucky in spite of bad kernel code also increase. > > Is that a worthwhile approach, at least for non PREEMPT? I don't know. Could probably add it if CONFIG_PREEMPT is not set. Just check if an idle CPU is available in that case and move it, as non PREEMPT kernels will have long latencies anyway. -- 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/