Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751251AbdGMBi4 (ORCPT ); Wed, 12 Jul 2017 21:38:56 -0400 Received: from LGEAMRELO13.lge.com ([156.147.23.53]:53200 "EHLO lgeamrelo13.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750933AbdGMBiz (ORCPT ); Wed, 12 Jul 2017 21:38:55 -0400 X-Original-SENDERIP: 156.147.1.151 X-Original-MAILFROM: byungchul.park@lge.com X-Original-SENDERIP: 10.177.222.33 X-Original-MAILFROM: byungchul.park@lge.com Date: Thu, 13 Jul 2017 10:38:08 +0900 From: Byungchul Park To: Juri Lelli Cc: peterz@infradead.org, mingo@kernel.org, linux-kernel@vger.kernel.org, juri.lelli@gmail.com, rostedt@goodmis.org, bristot@redhat.com, kernel-team@lge.com Subject: Re: [PATCH v5 1/4] sched/deadline: Make find_later_rq() choose a closer cpu in topology Message-ID: <20170713013808.GF20323@X58A-UD3R> References: <1495504859-10960-1-git-send-email-byungchul.park@lge.com> <1495504859-10960-2-git-send-email-byungchul.park@lge.com> <20170712131336.wbfefpnoj6ygzg7n@e106622-lin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170712131336.wbfefpnoj6ygzg7n@e106622-lin> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 633 Lines: 20 On Wed, Jul 12, 2017 at 02:13:36PM +0100, Juri Lelli wrote: > > @@ -1367,6 +1364,7 @@ static int find_later_rq(struct task_struct *task) > > rcu_read_lock(); > > for_each_domain(cpu, sd) { > > if (sd->flags & SD_WAKE_AFFINE) { Hi, > This is orthogonal to the proposed change, but I'm wondering if it make > sense to do the following only for SD_WAKE_AFFINE domains. The Actually I also wonder it.. > consideration applies to RT as well, actually. Also, find_later_rq gets > called when trying to push tasks away as well and in that case checking > for this flag seems inappropriate? Peter, Steve? > > Thanks, > > - Juri