Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5686630pxj; Wed, 23 Jun 2021 06:57:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4GC4L1lo4fDreCLlCi0KvMGbGyHBtuwnjj088dh4vFPZSSBn2MP0HhcFPvPN0IMH6LT2X X-Received: by 2002:a02:cb82:: with SMTP id u2mr9401051jap.8.1624456669496; Wed, 23 Jun 2021 06:57:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624456669; cv=none; d=google.com; s=arc-20160816; b=Iv8VFgE2LNVF8y39De0WB/PxlsNtzP7BsJP24HMGNuKGBCO+AbkV4qj1nq6BQfbNa8 /F1f0DOLPN0nctU7w2FFc8qSnCUmgyxi98eC/ZDiDcLBifomOS51+BjRFnrJJUUv0VW3 egRiKbuSPZUYqx6U/doamdnigA7ciNAoynPrv0HYjIpygGH1pHX1Z9IFcXcyWE1ETGOU CAJ/6fmLhIiDEQ0JhVbWMvvff9B+vsCXDjO4eQ2bECQNXaACEBkvMWQRXn45WtRbku7g gr/7Fw1t4a6rXHX9P80+nT4tlUbimSpE/MODL4Q2vgMLvKJHiIqQDfeA0xilfVNAQo1g dRyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=1f+5SV/sKKdVD+KkZH0IXa6QMqcFSI8JGYCiF1TdD4k=; b=UECvYSReFu29DO36mbMmXb0ZuqK3O4WsJJfimaAYbVUDlzZgoChb3GhcORdIe4tHwc QChA+xLLghg7J467dW7DoSygTSD88O2izayCEOhrrRAINdr7wLXhxd8Dx/C4ffgm7m7t KKkZ2WOd3nWZLy2IL7KKm9nqsSv2BnShHNTU//zxlxP8M6c71ctoTHqPoKpL4bLrLCCd 9tRAtedPYPaoGasJKrt8zfJ9gtJ3ccJpigH1d4CDSmOUPMm6luzK715y+ZBsO+R9BZxz UEbb1AqMWBanHvt8eKo3g9TEgLEE1JzFZawJku8/uWRG+VDdsOL4/0FkcK5K5eA40DKE IjPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dBTP92im; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i9si89469ioq.17.2021.06.23.06.57.37; Wed, 23 Jun 2021 06:57:49 -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; dkim=pass header.i=@linaro.org header.s=google header.b=dBTP92im; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230182AbhFWN6T (ORCPT + 99 others); Wed, 23 Jun 2021 09:58:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230292AbhFWN6S (ORCPT ); Wed, 23 Jun 2021 09:58:18 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E876AC061756 for ; Wed, 23 Jun 2021 06:56:00 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id d2so3101954ljj.11 for ; Wed, 23 Jun 2021 06:56:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1f+5SV/sKKdVD+KkZH0IXa6QMqcFSI8JGYCiF1TdD4k=; b=dBTP92imt0I9HU+05kls9sQhXxMKLcysBBwH+S4miexo3dqJyu+O+rQynNCgaX0qdm eNPI+YUE0oApsiGFtxNHOpXVnRmJS5miXMCAGHXVM8wmxqDMV7gj3eBgohN9RLeCGC9P 49YJ1XlgShyegR64ROQ7iLwhFZ91jWP5BTcJdyWzYgIznVd05+5H5YHy3hUWHRZV/wmL IWGvSS0mzQOYseCSV5uVWAtmZFvzYKVVyQDvG3I0lBJkJFiZWTUpMWXkltpwtLOtsy9c jESTDl3aZ8tl/nRmvr5gfs+qDttx04H/Kf+Y1+oMB1rBrNw2gofObjYCgkVyr2zimNVm 5Kaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1f+5SV/sKKdVD+KkZH0IXa6QMqcFSI8JGYCiF1TdD4k=; b=ad8sbPKRDDzEsOuGHEH1pyOThhOjopDlzFXy9pW0leAkI3ZdVXtn6qxJQUDrjpH4Q2 oeNSPw673X75aR9KTS+cChxIzyW4PcNOlZCVfg18lki6L6u1gOgVTQzhILovCrYo/2CN H4bIbCekGznwFadz7W3YgnlEtqzZqSGRHQeH8ySsTxZe1cZhTmXhMbJPr8uoXcfLzeKG MpprdzSFq4KN36ElsP17edELhguNVlzveUsgIlIPgt1MQXC12PJ631+mNQrGaAaLn/Y6 P95+HM4H3J1za7U1zTV+ZoJRm0fBXO5ORn9fvFJNvotL4WefXCAnpxm8cv66d5WT4Ums Qa8Q== X-Gm-Message-State: AOAM533SR9MRMqLWq4NELo5DbjajMwwstZFXFYTAT5h819yE8t6gvbEt pACZXpqd45VRs1aAiTpYvol9GAauZxjqnydmISw/VN9/1j9u3Q== X-Received: by 2002:a2e:9b07:: with SMTP id u7mr7799901lji.209.1624456559281; Wed, 23 Jun 2021 06:55:59 -0700 (PDT) MIME-Version: 1.0 References: <2ED1BDF5-BC0C-47CD-8F33-9A46C738F8CF@linux.vnet.ibm.com> <20210622143154.GA804@vingu-book> <53968DDE-9E93-4CB4-B5E4-526230B6E154@linux.vnet.ibm.com> <20210623071935.GA29143@vingu-book> <6C676AB3-5D06-471A-8715-60AABEBBE392@linux.vnet.ibm.com> <20210623120835.GB29143@vingu-book> In-Reply-To: From: Vincent Guittot Date: Wed, 23 Jun 2021 15:55:47 +0200 Message-ID: Subject: Re: [powerpc][next-20210621] WARNING at kernel/sched/fair.c:3277 during boot To: Odin Ugedal Cc: Sachin Sant , Linux Next Mailing List , linuxppc-dev@lists.ozlabs.org, open list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 23 Jun 2021 at 14:37, Odin Ugedal wrote: > > ons. 23. jun. 2021 kl. 14:22 skrev Vincent Guittot : > > > > In theory it should not because _sum should be always larger or equal > > to _avg * divider. Otherwise, it means that we have something wrong > > somewhere else > > Yeah, that might be the case. Still trying to wrap my head around > this. I might be wrong, but isn't there a possibility > that avg->period_contrib is increasing in PELTs accumulate_sum, > without _sum is increasing. This makes the pelt divider increase, > making the statement "_sum should be always larger or equal to _avg *" > false? Or am I missing something obvious here? The pelt value of sched_entity is synced with cfs and its contrib before being removed. Then, we start to remove this load in update_cfs_rq_load_avg() before calling __update_load_avg_cfs_rq so contrib should not have change and we should be safe > > Still unable to reproduce what Sachin is reporting tho. > > Odin