Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp935917pxb; Wed, 6 Apr 2022 04:47:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwN+XjM1eXJHRwELwArNjIHpzZlznZDtQ9+P964wh5THLeN0/uH8XwuVx0qLE0LOsmkxuGY X-Received: by 2002:a17:902:dac2:b0:156:a7f5:bc3d with SMTP id q2-20020a170902dac200b00156a7f5bc3dmr8306333plx.76.1649245633801; Wed, 06 Apr 2022 04:47:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649245633; cv=none; d=google.com; s=arc-20160816; b=P3yWw3jk8ZXP/PD/nmlcWKEssKoohRVD1dOmEiMciqB/eVhewLqHUGdMZMSBuGG3iN SIG1qJ/tHzFz9cqJf3zbNpyTYFD9VKrSrwOP59PG7nzaI6imLsJZ9SoP2uu0xt97qgfD c/Dj71DpdHBhW4ucsKvnBImEt+aeTYUmE28ebPTM6ew/LYdrKLxdada8iumJYd1Yzd4J /33qEkFK9O/s9NQlScwbn0Y1LzJlOuPqoODchRw2FEmMRP94uCorEiTclksfLmsi8ckn 9Dz/3HYlgEF0DMosLzWZz/P8BMwgfTPxuot0Pmuw1/w2wbKwn9uqX8X+UeSaawusnTbi I+fw== 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:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:dkim-signature; bh=AJifcpikGe25Yu/TA2ETB30SqhO2+eX5lpYrCPLcbP4=; b=ei/mfWxr5y68IhYmyWo2nj2PtivKkGgTJqKhv+SP03BDHqKn/ErPuYrAavVKVfde8J EFMYtEfusC+lvQkQhatyAGK0vQdrWR7jfDikTNZ1aVJzH8pSMI6GCKrzwIvM6mYtijSp D/5olNwv6zagNdZvu3Kq7eGnwUWLHyl2/qZGXskX+YhVnXhuWk+euiHmt/IKBqmSgeRd pKy9ggZyB7GdtPpnJfuKnBUUdFkd/ooXBCkDMlEfhtBWZfpTPL49QmDptkhhodWq+YT6 FzMxbW+tyMj7wyBJgHXdsLZ/ELQRcMxGKOo/qP1mKfftruk/0mlKeCjWt1gg3xbiImOX VZjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gnuweeb.org header.s=default header.b=qB9fXD5W; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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. [23.128.96.19]) by mx.google.com with ESMTPS id 31-20020a630f5f000000b003829d4cd1c8si14702057pgp.696.2022.04.06.04.47.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 04:47:13 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gnuweeb.org header.s=default header.b=qB9fXD5W; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 9DFF91C1E7B; Wed, 6 Apr 2022 03:04:01 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1588900AbiDFARq (ORCPT + 99 others); Tue, 5 Apr 2022 20:17:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1387486AbiDEOcQ (ORCPT ); Tue, 5 Apr 2022 10:32:16 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 057D815719 for ; Tue, 5 Apr 2022 06:13:50 -0700 (PDT) Received: from [192.168.137.80] (unknown [182.2.74.86]) by gnuweeb.org (Postfix) with ESMTPSA id E4BB47E342; Tue, 5 Apr 2022 13:13:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1649164430; bh=byKY6UTz0fK6TWtlSIwQIIwJ8VY6Tz2PXZQNSc6FFwU=; h=Date:To:Cc:References:From:Subject:In-Reply-To:From; b=qB9fXD5WlGBLJdi9FAcUvNx+Ou3+3qfnjcgD/3mYB9HWK/dVCRD7WzbNjjVWn6QEz pWq1umCtX/WFdk2IpK3S6P+oYfjCd4hJlDFEY1fgxeyLhJEZ7umI2rPaluveg/dokC eoG5noGnIYZ0JX1yVB45+Ont8l6x9d/SGFO0VMD9aqhKwYdyKefDbJLwfW+DFD/ILP fmQyW6Iyl6Xp66LL64kwBUJwZ93lWoVJrSx7/EXedy8WTwUPp9RlyG4lboi12Hn9Y6 nmBDsvuUx6yR3Inx8i0sx87KlKgQ22fh56HhGddv5aigM2ptQfceZlfiMIpmEhezkk wrDIQQkcCg/Ow== Message-ID: <675544de-3369-e26e-65ba-3b28fff5c126@gnuweeb.org> Date: Tue, 5 Apr 2022 20:13:42 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 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 Subject: Re: [Linux 5.18-rc1] WARNING: CPU: 1 PID: 0 at kernel/sched/fair.c:3355 update_blocked_averages 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: > Tried to recreate the issue but no success so far. I used you config > file, clang-14 and a Xeon CPU E5-2690 v2 (2 sockets 40 CPUs) with 20 > two-level cgoupv1 taskgroups '/X/Y' with 'hackbench (10 groups, 40 fds) > + idling' running in all '/X/Y/'. > > What userspace are you running? HP Laptop, Intel i7-1165G7, 8 CPUs, with 16 GB of RAM. Ubuntu 21.10. Just for daily workstation. Compiling kernel, browsing and coding stuff. > There seemed to be some pressure on your machine when it happened? Yeah, might be, I don't fully remember the activity at the time it happened, though. >> <6>[13420.623334][ C7] perf: interrupt took too long (2530 > 2500), >> lowering kernel.perf_event_max_sample_rate to 78900 > > Maybe you could split the SCHED_WARN_ON so we know which signal causes this? OK, I will apply the diff on top of 5.18-rc1 and will start using it for daily routine tomorrow morning. Let's see if I can hit this bug again. Will send an update later... Thank you. > 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; > } > > [...] -- Ammar Faizi