Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6773593ybf; Fri, 6 Mar 2020 04:20:53 -0800 (PST) X-Google-Smtp-Source: ADFU+vtZzzwhnCQMUzX2rYFRDCbBSpY9EJ/k7QR/T1dyQlcZ6Uh5D8DBYaR4qaAGDDR51S/cuCrO X-Received: by 2002:a05:6830:168b:: with SMTP id k11mr2330970otr.156.1583497253015; Fri, 06 Mar 2020 04:20:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583497253; cv=none; d=google.com; s=arc-20160816; b=GSSqgdHmWPxmlkPLwR5Rr6fz1A2q/qbfRXv1FsbcGed+rNjg1hrjSfT/2XT1ShxIll yNkQWYmLK7Y0zZ1x53S8YMSWQxfF22IoyoO6XH6pW9kjdeGdbwLW9DxZE/hUktAayFXZ ncFyqfZw88xbjaqs8xHDE3m7DPp8Fh5C2G7W8HDhDO0zBbu8Su2nVK1DeInilSFUJBE1 EA8tOj/OoaWDhH7PUCjNVni9jX22pIO/WwtM/afrXwaFoGAbDi6oPQ+Z4adTbu357JB9 G0RomvOjCbbFlufPjkbzU07x7WW95VXIhFrb7t06IkncCxvY2QIoyzSjOEvqjy+9+5mr 2Y1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=mWBRUeMW0HxTVJ4hzRVLRxDaeyG3zlJI1mZr1q06fVc=; b=sGoYIjiu8j4MGbc8i3fgC36zl2/Z/La8OGDnnarwx1x115W1efmoSe0mkGNWgBYGw6 N04RTJICEUA6i2Z1+OJqmdU98ReBy7yPGHm6i7JGLsu5U9JRVy6hmwLx56kLzLAh/IuJ 5PM4XB/QlLHNilrCiSu8GmKqf7xwv3U8iJNmS+YSt3R95wBpal0U983RFahI/wTrYDt6 2/W43KxgmINz4tAEsZ+vAjqwN93tNXE3oIbvYtaQzqDWt/6OnZGw1KvyAq+DvZM/Zd+3 vLM7lBki6QlVJVqTW82xzl827krzjxtWPF8+GGjxRnYdh63mepvZSeTEr9rvXuKMOYhJ V8OQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d11si1189386otf.135.2020.03.06.04.20.41; Fri, 06 Mar 2020 04:20:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727065AbgCFMTZ (ORCPT + 99 others); Fri, 6 Mar 2020 07:19:25 -0500 Received: from foss.arm.com ([217.140.110.172]:60510 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726498AbgCFMTZ (ORCPT ); Fri, 6 Mar 2020 07:19:25 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 93F6D31B; Fri, 6 Mar 2020 04:19:24 -0800 (PST) Received: from [192.168.0.7] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7D1943F6C4; Fri, 6 Mar 2020 04:19:22 -0800 (PST) Subject: Re: [PATCH] sched/fair: fix enqueue_task_fair warning To: Vincent Guittot Cc: Ingo Molnar , Peter Zijlstra , Juri Lelli , Steven Rostedt , Ben Segall , Mel Gorman , linux-kernel , Christian Borntraeger , "# v4 . 16+" References: <20200305172921.22743-1-vincent.guittot@linaro.org> From: Dietmar Eggemann Message-ID: <73cc2b4b-9803-32ff-dc01-adbe4f8ba149@arm.com> Date: Fri, 6 Mar 2020 13:19:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/03/2020 13:07, Vincent Guittot wrote: > On Fri, 6 Mar 2020 at 10:12, Vincent Guittot wrote: >> >> On Thu, 5 Mar 2020 at 20:07, Dietmar Eggemann wrote: >>> >>> On 05/03/2020 18:29, Vincent Guittot wrote: [...] > If it's fine for you, I'm going to add this in a new version of the patch Yes, please do. Reviewed-by: Dietmar Eggemann Tested-by: Dietmar Eggemann [...] >>> diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c >>> index e9fd5379bb7e..5e03be046aba 100644 >>> --- a/kernel/sched/fair.c >>> +++ b/kernel/sched/fair.c >>> @@ -4627,11 +4627,17 @@ void unthrottle_cfs_rq(struct cfs_rq *cfs_rq) >>> break; >>> } >>> >>> - assert_list_leaf_cfs_rq(rq); >>> - >>> if (!se) >>> add_nr_running(rq, task_delta); >>> > > will add similar comment as for enqueue_task_fair Sounds good. [...]