From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932813AbeDXKnL (ORCPT ); Tue, 24 Apr 2018 06:43:11 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:35752 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932634AbeDXKnJ (ORCPT ); Tue, 24 Apr 2018 06:43:09 -0400 Date: Tue, 24 Apr 2018 12:43:04 +0200 From: Peter Zijlstra To: Valentin Schneider Cc: Viresh Kumar , Ingo Molnar , Vincent Guittot , Daniel Lezcano , linux-kernel@vger.kernel.org Subject: Re: [PATCH] sched/fair: Rearrange select_task_rq_fair() to optimize it Message-ID: <20180424104304.GE4064@hirez.programming.kicks-ass.net> References: <8a34a16da90b9f83ffe60316a074a5e4d05b59b0.1524479666.git.viresh.kumar@linaro.org> <434fa179-7c8f-8a01-a07a-4527521a04c7@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <434fa179-7c8f-8a01-a07a-4527521a04c7@arm.com> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 24, 2018 at 11:02:26AM +0100, Valentin Schneider wrote: > I'd argue making things easier to read is a non-negligible part as well. Right, so I don't object to either of these (I think); but it would be good to see this in combination with that proposed EAS change. I think you (valentin) wanted to side-step the entire domain loop in that case or something. But yes, getting this code more readable is defninitely useful.