Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1450370pxy; Mon, 2 Aug 2021 01:43:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3TrDV3DpmnGijx1QPgL1QUlp17aHxJNGhMEQft23eo1KxOAWi6RdaeSPb7dwGWqmdQFLa X-Received: by 2002:a05:6638:1251:: with SMTP id o17mr2405801jas.15.1627893831196; Mon, 02 Aug 2021 01:43:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627893831; cv=none; d=google.com; s=arc-20160816; b=TjLT1SVH7FWcwwKiT5NE6UI8koE/Wxlpmyf4uVMWWf5OkamBo2Gx6StgGDmzUbSqCJ xceJCFjmJYx7ZwDHYSUD1Iy/4RGdCljly57/GCGp1O6NEJyRSEWNnokZLUz6F2s60w2S s8C0hxZ3DYOxxbxrNCDPTsjaM2920WyAOfQZdoIn6gnuBboQ5MuQefb4ptcDVizCSA9G Eoo2C4JYFdA0kaHJ9yVOTqo2pD1c0ydmQBUdrvY6U1nhEGqEm+xCwtlGT9dxs6Ztiq6y HtMf+0dFgoarOV14gveG7ZCAOSGf25752TZN2WJxRLU/4e0auEaWAlNmyV2ov5ZF+voY MIUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=kQhbwWwfGc6GBzEm56bQ7ra+mFzd2mK23fPcpVFUDCU=; b=Plvw6EPt8bBKMxOA7bqr8lXGTqSxo9fzyDIq7e8foJV6qKy9dpPB+o8oEyN1Rr4d4M nxY5WExEhqJO1lUG5IyEAbDboWfCbDfhPpK2WC+iWPNnh7Q6RJEpeQHAHIl7AIg/E9Mx H0dwNb12bzWtVGbRox+P924hWb+lInMfycaQhpIR+InYmY6GZVPDrtL1qwEVOw9vnKax JbgQZ1CwYPN6Kmk//ARRY0VfvslgcR+ivtSbwMbbFsikBIn5zyVX/F/47zbPFXM8VBgi RN79QiaATDxs2bEDDDiWE9j+nfK0JayK+MJP2dqgxZDg3hhahPS4ByH2neMTLvZOT2rs fptA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 11si11669228ilx.122.2021.08.02.01.43.39; Mon, 02 Aug 2021 01:43:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232777AbhHBImd (ORCPT + 99 others); Mon, 2 Aug 2021 04:42:33 -0400 Received: from foss.arm.com ([217.140.110.172]:60110 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232670AbhHBImc (ORCPT ); Mon, 2 Aug 2021 04:42:32 -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 66E80106F; Mon, 2 Aug 2021 01:42:23 -0700 (PDT) Received: from [192.168.1.13] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 73B843F719; Mon, 2 Aug 2021 01:42:21 -0700 (PDT) Subject: Re: WARNING: CPU: 0 PID: 12 at kernel/sched/fair.c:3306 update_blocked_averages+0x941/0x9a0 To: Ammar Faizi , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira Cc: linux-kernel@vger.kernel.org, Ammar Faizi References: From: Dietmar Eggemann Message-ID: <7473b5ba-72bf-7836-44a6-42851081a277@arm.com> Date: Mon, 2 Aug 2021 10:42:18 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ammar, On 30/07/2021 17:21, Ammar Faizi wrote: > Hi everyone, > > I compiled Linux 5.13.0 and use it on my Ubuntu. I got a kernel warning > at kernel/sched/fair.c:3306. > > Below is the system information > Kernel: 5.13.0-icetea001-12377-gf55966571d5e So you're running with: 9e077b52d86a - sched/pelt: Check that *_avg are null when *_sum are (2021-06-17 Vincent Guittot) but not with: ceb6ba45dc80 - sched/fair: Sync load_sum with load_avg after dequeue (2021-07-02 Vincent Guittot) The SCHED_WARN_ON you're hitting is harmless and just tells you that the PELT load_avg and load_sum part of one of your cfs_rq's is not aligned. Has to be load (and not util or runnable) since load is the only one still not fixed in f55966571d5e. This should go away once you applied ceb6ba45dc80. -- Dietmar