Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp170224pxj; Thu, 3 Jun 2021 03:52:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8gV2Ru1uSWmmAFXZN1XTlWUJlPbL+AekYaQpMApLYIewGeK7tp5MkFK35cGTMk92JlnQS X-Received: by 2002:a17:906:8345:: with SMTP id b5mr5204967ejy.14.1622717575036; Thu, 03 Jun 2021 03:52:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622717575; cv=none; d=google.com; s=arc-20160816; b=XuoIZtvkPa9hoOl+GYP78gXDz87CjXKDbklKvy1YmiGToA0UGJvkG5JOOLWJKfc1Nz wzAPusIYkbnTR8/ZS9r1YODeeZ940tHHfVqYR23YKzX57OViM0BMk1ZptLePcOJWFyO3 0O2Qg+5Gjf5GMwzFX8CyS9GH1BkELahMKjyj+04r5EwySxRSZzsMRSJh4tlSt7FwSf1h vbWHMqk0uEJfp87FBHYG+A/xb3s+pmQ+WWPGc6snAos0akuUZUdh10zfTfomXbQ9fGUh KyS45Bt0WQVLEAYs6N7jB0HWO/pcDTUjVJJ5cHTD4Vwzoh/91saDaCuX2vjXUUutN9hc FJ0g== 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=OY/G2xQNrjtnmQydqLTuNDxZD5TSalJWG1axh9cJcrQ=; b=CPhrBEp36JbFGGIs5BHj7MCb2x2kWsjwPIbp/IiyfUHJikaq9AHWrCUfcoKHPr3eZs +LruvBPGApyKwQfX58qnN2Y7SMIyqckOa6BKjZBLb/x9cKw10qUL3vXIiBjCk8IW8YP4 zedBsavZA3VfJseKrn7WXeyTNX1hgGO96Rpxaa7+/2IBoSOG+CoBcP8VF0g2ZuCTTng1 E3Z+kyihmQEaMI5aEDm2JUjN0GmjpX5jmaFrhg9mOVVBDwwV3LyNQXszs3D2pv87i7sA T7lJtbhuS4ipNaxUWG8vo0Jcv53P4/0Cr2hHbFfgvlVNsXafZ8m4WIhbxzf4E72e4jm+ jjgQ== 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 o24si2111947edq.570.2021.06.03.03.52.32; Thu, 03 Jun 2021 03:52:55 -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 S229822AbhFCKw3 (ORCPT + 99 others); Thu, 3 Jun 2021 06:52:29 -0400 Received: from foss.arm.com ([217.140.110.172]:37990 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229817AbhFCKw3 (ORCPT ); Thu, 3 Jun 2021 06:52:29 -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 7C0431063; Thu, 3 Jun 2021 03:50:44 -0700 (PDT) Received: from [192.168.178.6] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0F8FC3F774; Thu, 3 Jun 2021 03:50:41 -0700 (PDT) Subject: Re: [sched/pelt] e906550aca: WARNING:at_kernel/sched/fair.c:#update_blocked_averages To: kernel test robot , Vincent Guittot Cc: 0day robot , LKML , lkp@lists.01.org, ltp@lists.linux.it, mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, odin@uged.al, aubrey.li@linux.intel.com, yu.c.chen@intel.com References: <20210602064526.GB9872@xsang-OptiPlex-9020> From: Dietmar Eggemann Message-ID: <56316b95-3ec5-74e6-a4f7-d91aea022abe@arm.com> Date: Thu, 3 Jun 2021 12:50:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210602064526.GB9872@xsang-OptiPlex-9020> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/06/2021 08:45, kernel test robot wrote: [...] > kern :warn : [ 40.989618] WARNING: CPU: 2 PID: 253 at kernel/sched/fair.c:8029 update_blocked_averages (kbuild/src/consumer/kernel/sched/fair.c:8029 kbuild/src/consumer/kernel/sched/fair.c:8065 kbuild/src/consumer/kernel/sched/fair.c:8152) Hit something like this on my Ubuntu i7-7567U as well. With more debugging: [ 7.388006] WARNING: CPU: 1 PID: 926 at kernel/sched/fair.c:8029 update_blocked_averages+0x30d/0x7e0 ... [ 7.388167] path=/autogroup-2 load_avg=1 util_avg=0 runnable_avg=1 IMHO, this is because this patch needs: (1) sched/pelt: ensure that *_sum is always synced with *_avg (2021-06-03 Vincent Guittot) https://lkml.kernel.org/r/20210601085832.12626-1-vincent.guittot@linaro.org (2) sched/fair: Keep load_avg and load_sum synced (2021-06-03 Vincent Guittot) tip/sched/urgent 7c7ad626d9a0 Using both patches underneath makes this warning go away.