From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752600AbdBOS6v (ORCPT ); Wed, 15 Feb 2017 13:58:51 -0500 Received: from foss.arm.com ([217.140.101.70]:59568 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751860AbdBOS6t (ORCPT ); Wed, 15 Feb 2017 13:58:49 -0500 Subject: Re: [RFC,v2 3/3] sched: ignore task_h_load for CPU_NEWLY_IDLE To: Uladzislau Rezki , Peter Zijlstra References: <1486543409-11493-1-git-send-email-urezki@gmail.com> <1486543409-11493-3-git-send-email-urezki@gmail.com> <20170209122218.GE6500@twins.programming.kicks-ass.net> <20170213135149.GQ6515@twins.programming.kicks-ass.net> Cc: Ingo Molnar , LKML , Uladzislau 2 Rezki From: Dietmar Eggemann Message-ID: <1f0bc6a4-7e17-98bf-2ef0-a805e32a5591@arm.com> Date: Wed, 15 Feb 2017 18:58:46 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/14/2017 06:28 PM, Uladzislau Rezki wrote: >>> >>> So that is useful information that should have been in the Changelog. >>> >>> OK, can you respin this patch with adjusted Changelog and taking Mike's >>> feedback? >>> >> Yes, i will prepare a patch accordingly, no problem. >> >>> >>> Also, I worry about the effects of this on !PREEMPT kernels, the first >>> hunk (which explicitly states is about latency) should be under >>> CONFIG_PREEMPT to match the similar case we already have in >>> detach_tasks(). This one uses #ifdef CONFIG_PREEMPT whereas you use IS_ENABLED(CONFIG_PREEMPT). Is there a particular reason for this? >>> But your second hunk, which ignores the actual load of tasks in favour >>> of just moving _something_ already, is utterly dangerous if not coupled >>> with these two other conditions, so arguably that too should be under >>> CONFIG_PREEMPT. >>> >> I see your point. Will round both with CONFIG_PREEMPT. >> > I have upload a new patch, please find it here: > https://lkml.org/lkml/2017/2/14/334 >