From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B78DC432BE for ; Mon, 2 Aug 2021 08:42:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5CEC561057 for ; Mon, 2 Aug 2021 08:42:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232823AbhHBIme (ORCPT ); Mon, 2 Aug 2021 04:42:34 -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