Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp956210pxb; Wed, 6 Apr 2022 05:16:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxklzjDmDS02Zc1MjjajJ/qwIhvVZaU5lv0qnwyPHWscWmpXXs4oZWDJGWcMgQZZEfW9m2L X-Received: by 2002:a05:6a00:84d:b0:4fb:82a:f56 with SMTP id q13-20020a056a00084d00b004fb082a0f56mr8639458pfk.9.1649247383148; Wed, 06 Apr 2022 05:16:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649247383; cv=none; d=google.com; s=arc-20160816; b=fB21/PMZgLuQllm/HgtJnWMuqvCtU4GyLGDfPfdvMxQdsG5T1Z2jfAYj4IBOITf62C qU2nYoPrDPiH2IifNw373+o7aCLxdR9iaRwicYSm8kIlIQ3i4rRcLqZDqvW1qgopHcfv SFOSe1cZRr8lSyOC01XZXGpTYynbWKXvZZXacw1SY0t0OrbhTJ0dsIS1c+XDC98KdErx a6mjhaP6NeplN21+xzxwNan0hsC0jy2Y0RUhDWERUtRyG+KRZu9oYhosjJ+Ou/QJQYID Adi6m1FbU3X0/kUHpI2ryuvm7pKMenZylOM17LD19cXV0AsgBuLw+GflMNAJ+9V7wLJi R2sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=PcqsKRcZedvAKivQgJgfWubKo04crFbC6+BiTgMSm3I=; b=FK+JfINwN8a9wCe/jqM7Myxy7IHURC1DFqPq2WO66Nwajfg1Jk8MF31Mekg62ZoPUX 7vXzjicSU8Er0+3wZ1qeLVB3RlyYC3VR8zK2Q3KczGs+gpFM/EYg7Uc3coCCMjsTp5Oj xcVFAvTlxGk0fVoKA7iKUoURgDNSE929LQQILYvb2D7R6/Dv1Vk746h7suuFQvshFLhu ZJIEzacOkwh7XI4PwFCTeP13TSZR84s8OfiVQRN5JIdtZGFvJ2bNFvFfadsmMmRNcwCF 2PztnVWzEaEDABM57taM9t6pRIfmDiidqZtLgYwDt01U4hN0QfzGreqlWaPYaX4PF4RQ 40Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gnuweeb.org header.s=default header.b="Xv/VvDq1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnuweeb.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id m3-20020a170902db0300b001561bfa1339si16298109plx.547.2022.04.06.05.16.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 05:16:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gnuweeb.org header.s=default header.b="Xv/VvDq1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnuweeb.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DC99C523931; Wed, 6 Apr 2022 03:58:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234390AbiDEURV (ORCPT + 99 others); Tue, 5 Apr 2022 16:17:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1384276AbiDEPOy (ORCPT ); Tue, 5 Apr 2022 11:14:54 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D18320F58 for ; Tue, 5 Apr 2022 06:29:17 -0700 (PDT) Received: from [192.168.137.80] (unknown [182.2.74.86]) by gnuweeb.org (Postfix) with ESMTPSA id 817617E342; Tue, 5 Apr 2022 13:29:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1649165356; bh=uhjmyqCr5OwOhwtddzDczmaKyd1OpK7B0pVdY6yUzsU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Xv/VvDq1G5l3g+F4JGca9f8EyByl27s/3e+PX1uX1km0gUENZt8pBz9XjfERXQJ4h Pp0ipO6MfXvr9NL94dhv6mGiAlV0ocA6NLUH6uPKfBwiRy5Tf00a475qYPhglDEiJW 8xGBDRVOQLRCiv4UAZMLnZCwzpS/204A0zEz9Q0QGGxx+iqM3v+yTyxOrh6OAN9145 y9g/HsPoH3+9qAhlQn7dSJ+5zFJzcVqcGkrDkjmCraDoBnaJYqTQacmQpUE/2maBJ/ s8fXummwbYsvgENLZEkY7FQR/wEz7NOYhM/FfexN56gSHS9m6DxbPyIddEzuzifoab xR52iQQyA0bEw== Message-ID: Date: Tue, 5 Apr 2022 20:29:08 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [Linux 5.18-rc1] WARNING: CPU: 1 PID: 0 at kernel/sched/fair.c:3355 update_blocked_averages Content-Language: en-US To: Dietmar Eggemann , Linux Kernel Mailing List Cc: Ben Segall , Daniel Bristot de Oliveira , GNU/Weeb Mailing List , Ingo Molnar , Juri Lelli , Mel Gorman , Peter Zijlstra , Steven Rostedt , Vincent Guittot References: From: Ammar Faizi In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/5/22 7:21 PM, Dietmar Eggemann wrote: > Maybe you could split the SCHED_WARN_ON so we know which signal causes this? > > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index d4bd299d67ab..0d45e09e5bfc 100644 > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c > @@ -3350,9 +3350,9 @@ static inline bool cfs_rq_is_decayed(struct cfs_rq > *cfs_rq) > * Make sure that rounding and/or propagation of PELT values never > * break this. > */ > - SCHED_WARN_ON(cfs_rq->avg.load_avg || > - cfs_rq->avg.util_avg || > - cfs_rq->avg.runnable_avg); > + SCHED_WARN_ON(cfs_rq->avg.load_avg); > + SCHED_WARN_ON(cfs_rq->avg.util_avg); > + SCHED_WARN_ON(cfs_rq->avg.runnable_avg); > > return true; > } error: corrupt patch at line 6 Trivial enough, fixed it. Compiling now... ammarfaizi2@integral2:~/work/linux.work$ git log -n1 commit 3123109284176b1532874591f7c81f3837bbdc17 (HEAD -> master, tag: v5.18-rc1, @torvalds/linux/master) Author: Linus Torvalds Date: Sun Apr 3 14:08:21 2022 -0700 Linux 5.18-rc1 ammarfaizi2@integral2:~/work/linux.work$ git diff diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index d4bd299d67ab..0d45e09e5bfc 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -3350,9 +3350,9 @@ static inline bool cfs_rq_is_decayed(struct cfs_rq *cfs_rq) * Make sure that rounding and/or propagation of PELT values never * break this. */ - SCHED_WARN_ON(cfs_rq->avg.load_avg || - cfs_rq->avg.util_avg || - cfs_rq->avg.runnable_avg); + SCHED_WARN_ON(cfs_rq->avg.load_avg); + SCHED_WARN_ON(cfs_rq->avg.util_avg); + SCHED_WARN_ON(cfs_rq->avg.runnable_avg); return true; } ammarfaizi2@integral2:~/work/linux.work$ -- Ammar Faizi