Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3171666ybi; Mon, 29 Jul 2019 02:08:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqzQqyZxGPqUjblDRtEbzMfvqBEWtGwV3M/xvopCpT5jC7vh7DFtuoenKgG+TKasbEH+rMIZ X-Received: by 2002:a17:902:1102:: with SMTP id d2mr108905186pla.149.1564391318026; Mon, 29 Jul 2019 02:08:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564391318; cv=none; d=google.com; s=arc-20160816; b=qwqBuSwyuEFCPD4Fyi1vXRc265pxmE4t7nchU2Ljyemn5Q0iim/O1RsWzIeJixoZk9 rqjlwpqGUzuA0ZUKW4QDzVx4g1Frz6bFqpfWlNCuiMRFynC7Np2e5xzVnvDiteulSvLS E+z4tjLQDf6aT4vP9rM6FBf4uVDuUfnoWql7diFYD40MyekO2re5a0uZdBGqdiOjI4b1 RhcASoO2dh5oWA/P7J+Sz69+llddclwcaI82FxKRj5egEikwJyFcl4QjulCJn/yNjs1e ODZoP81tgR6azShFdIOqETAJxL7x2ovn+gWmby/9ys3GTnuJM+60Stba8g4UO0zJmhfy xUsA== 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=V0v68tNYI6VuUr/MonlHedW2WgvI9SM8gLtbvyMrPWQ=; b=N9bdlzXWJ2l1buJfzaDUMJYimJ3MQmNeEYq3HyOu0nYf6LvIyec4RwZBwopBhFD6D+ phCh7CzhLYtWkvg+2VW5boI6JnsZYbEBaI0y4GVgYsFqRYNintYGjTbjMWcc/P84755n b4osgBJQJDw8pyVr0YyZ/gHLVkWUtT2Pm3K14xZDIbA/qV26fHTb2PjDQGWtujwEkGIk y6xMevQJBjfhsqjnPvzhUprxai7T6SX7c7vK8yUnC/EJUnyrZW7GSX0zIG9rAGdp6sKs Zvyq8+hZYM/pJ0fuPvTjG8OLhA3UJRRwQvsFFXq8Nsctb7KKmvYFEZ3/5/6rZ9eX+aj2 WchA== 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 s8si24740062pjb.40.2019.07.29.02.08.22; Mon, 29 Jul 2019 02:08:38 -0700 (PDT) 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 S1727276AbfG2I7b (ORCPT + 99 others); Mon, 29 Jul 2019 04:59:31 -0400 Received: from foss.arm.com ([217.140.110.172]:40234 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726432AbfG2I7b (ORCPT ); Mon, 29 Jul 2019 04:59:31 -0400 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 09400337; Mon, 29 Jul 2019 01:59:31 -0700 (PDT) Received: from [10.1.32.39] (unknown [10.1.32.39]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DEC823F575; Mon, 29 Jul 2019 01:59:29 -0700 (PDT) Subject: Re: [PATCH 1/5] sched/deadline: Fix double accounting of rq/running bw in push_dl_task() To: luca abeni Cc: Peter Zijlstra , Ingo Molnar , Juri Lelli , Daniel Bristot de Oliveira , Valentin Schneider , Qais Yousef , linux-kernel@vger.kernel.org References: <20190726082756.5525-1-dietmar.eggemann@arm.com> <20190726082756.5525-2-dietmar.eggemann@arm.com> <20190726121159.10fd1138@sweethome> From: Dietmar Eggemann Message-ID: <531f753a-57ba-408f-42e0-15252d7b1c32@arm.com> Date: Mon, 29 Jul 2019 09:59:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190726121159.10fd1138@sweethome> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/26/19 11:11 AM, luca abeni wrote: > Hi Dietmar, > > On Fri, 26 Jul 2019 09:27:52 +0100 > Dietmar Eggemann wrote: > >> push_dl_task() always calls deactivate_task() with flags=0 which sets >> p->on_rq=TASK_ON_RQ_MIGRATING. > > Uhm... This is a recent change in the deactivate_task() behaviour, > right? Because I tested SCHED_DEADLINE a lot, but I've never seen this > issue :) Looks like it was v5.2 commit 7dd778841164 ("sched/core: Unify p->on_rq updates"). > Anyway, looking at the current code the change looks OK. Thanks for > fixing this issue! [...]