Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3624427ybi; Mon, 29 Jul 2019 09:41:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5dt7vFizGJmbO5Jr7nbPWsVvqdBHOwVNl4v6UKzbjcH296m8WVY18HhvDsK2Fo6zCOVVz X-Received: by 2002:a17:902:c509:: with SMTP id o9mr112776672plx.222.1564418461929; Mon, 29 Jul 2019 09:41:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564418461; cv=none; d=google.com; s=arc-20160816; b=OxmVBhFDd4BrVmF3g/ZLrKPmFkCxCoZQdhAPftBCFhzeu4Q5wA7OA9/xnqPoNcYkSP eY2J/BjLFi9UyERyeeMdLEGK4P0yLgGYTGXyScMO5bH8VZRfO+JDb38/IRM3WxitYyA+ iOX0iFw8DMKEfOYrrmxZV0n0lQC5WcnKp5apA1UD+5rCU/9YY15RdZdC5jraPaYjX69e z5IQZT8Dal/CaV7E3rBiOq+HYd40VdCpPQOTXv95Ebh5rrhLimOzpjb4b0ncH3E/iAUP GX0meKmPFiFa6Z/j2pFELMBjHdxs1XMcyDoY5Q4zvIcdGOy9Igs9Ec+gqIjnorNZvP7g pedg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=HSyRm8Kmm8l8JMI1hY/zT50xKLMEAchWqs4a2VQweLg=; b=a0M0PT98/HBDpauOw/3ZMBUyBg35AOCmLJ+aCwSt+ocgbwUazxLHiWlt75ba3cmOpD rdTaXbxn31tLIvgMm+S2KayPTMV5TKkIi9k+5ousxx7fIp78dE3GBhaQJ6pDLT5tExnV R0GLI6L9v+Hk5xxVgcO+oN+Z8RlAw7SgQM+BNgfuiB0p7KQCSbg8f25rv9ZYD1Ha9kR7 watbOM+DLmdKT5uIKgANhTXzpFl8AX+eNvp4+O2HZ7KozuyccvUO1H5Gq7jU+Fzk1q43 fwJcOERav2gM5J+0PPoNPmpvulmjOV2ET9GtIEOik+KbEk56Jemz4EsOjxYlF7OE7Rrl uctQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="NCotWPN/"; 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 t17si16088082pgv.54.2019.07.29.09.40.46; Mon, 29 Jul 2019 09:41:01 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="NCotWPN/"; 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 S1728708AbfG2QK2 (ORCPT + 99 others); Mon, 29 Jul 2019 12:10:28 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:43406 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727714AbfG2QK2 (ORCPT ); Mon, 29 Jul 2019 12:10:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=HSyRm8Kmm8l8JMI1hY/zT50xKLMEAchWqs4a2VQweLg=; b=NCotWPN/8B+g7XsmW9W7qsWAs lymhAfOfY6DBBAa+g3VaynKq2A8l/3wC8aT3mic3pVD7DWggQjxL9lrv6v5OtybxU0ECZ4/POo1XN CQ+QKkUgHi6kE9z91R/xvivjaI0MxeAPlomThdTi80nTDy1h5dzH7UeEJWKcZInheuC5geRQbBZiV +3aAJ6z7uOlE4kW9sbNBVlpLD6C063WDFBuplPlZk6wGyx978LydtUu2Ct6208pUNNnO+Wg16dutF tBjXW8UxlgDoaCrATWSZb/fLkgaxt40jCBiaYzWYPlf537m+cuxWvrO5PBT28J66l5g2V5/YlMw76 N6srPsqUA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hs8ED-0000Xh-Fk; Mon, 29 Jul 2019 16:10:25 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 9B8F220AFFEAD; Mon, 29 Jul 2019 18:10:23 +0200 (CEST) Date: Mon, 29 Jul 2019 18:10:23 +0200 From: Peter Zijlstra To: Dietmar Eggemann Cc: luca abeni , Ingo Molnar , Juri Lelli , Daniel Bristot de Oliveira , Valentin Schneider , Qais Yousef , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/5] sched/deadline: Fix double accounting of rq/running bw in push_dl_task() Message-ID: <20190729161023.GK31398@hirez.programming.kicks-ass.net> References: <20190726082756.5525-1-dietmar.eggemann@arm.com> <20190726082756.5525-2-dietmar.eggemann@arm.com> <20190726121159.10fd1138@sweethome> <531f753a-57ba-408f-42e0-15252d7b1c32@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <531f753a-57ba-408f-42e0-15252d7b1c32@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 29, 2019 at 09:59:28AM +0100, Dietmar Eggemann wrote: > 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"). Argh, that wasn't intentional (obviously); please post v2 with that as Fixes and I'll get it in sched/urgent and stable.