Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934393AbdCWOIc (ORCPT ); Thu, 23 Mar 2017 10:08:32 -0400 Received: from smtprelay0006.hostedemail.com ([216.40.44.6]:52172 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751576AbdCWOIb (ORCPT ); Thu, 23 Mar 2017 10:08:31 -0400 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:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:3138:3139:3140:3141:3142:3352:3622:3865:3867:3868:3871:3872:3873:3874:4250:5007:6261:7875:7903:7974:10004:10400:10450:10455:10848:10967:11026:11232:11473:11658:11914:12663:12740:12760:12895:13069:13073:13255:13311:13357:13439:14096:14097:14181:14659:14721:19904:19999:21080:21324:21325: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: jeans95_f7a2687d134d X-Filterd-Recvd-Size: 2115 Date: Thu, 23 Mar 2017 07:08:24 -0700 From: Steven Rostedt To: Byungchul Park Cc: Peter Zijlstra , , , , Subject: Re: [PATCH v3 3/3] sched/rt: Add support for SD_PREFER_SIBLING on find_lowest_rq() Message-ID: <20170323070824.5f0ead54@vmware.local.home> In-Reply-To: <20170323103651.GQ11100@X58A-UD3R> References: <1490235169-370-1-git-send-email-byungchul.park@lge.com> <1490235169-370-3-git-send-email-byungchul.park@lge.com> <20170323094445.qatkzhafbhpsm6vs@hirez.programming.kicks-ass.net> <20170323103651.GQ11100@X58A-UD3R> X-Mailer: Claws Mail 3.14.1 (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 Content-Length: 986 Lines: 24 On Thu, 23 Mar 2017 19:36:51 +0900 Byungchul Park wrote: > On Thu, Mar 23, 2017 at 10:44:45AM +0100, Peter Zijlstra wrote: > > On Thu, Mar 23, 2017 at 11:12:49AM +0900, Byungchul Park wrote: > > > It would be better to avoid pushing tasks to other cpu within > > > a SD_PREFER_SIBLING domain, instead, get more chances to check > > > other siblings. > > > > Did you forget to post the rt equivalent to patch 1? > > No. Fortunately, rt currently works as patch 1 does. I'm thinking that the rt and deadline search for lowest rq functions should be merged as one. What they are doing is looking for the rq with the lowest priority. deadline currently doesn't care if it picks an rq with an rt task running on it, even when there's an rq with no rt tasks that the dl task can migrate to. The same goes with rt. It could place an RT task on an rq running a deadline task without knowing the rt task wont be able to run on that cpu immediately. -- Steve