Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp572760pxv; Thu, 1 Jul 2021 04:52:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqpsmaJz6+BEpt8LsCCbaPLMzD9thSbWrSDJjaTE6Y85jWWhbgq/LUG3pvDb+vCF8DEvBs X-Received: by 2002:a05:6638:388f:: with SMTP id b15mr6190482jav.61.1625140370887; Thu, 01 Jul 2021 04:52:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625140370; cv=none; d=google.com; s=arc-20160816; b=rX+YO3tb6Lfl6JGWyb0exrEyFbNdP8FVFxI6ftCHeEvRGcTjtz2Dle5wJInYNH4sCV ErH1WwhkeFFhgUpEH/7kAI7oRRamR2K164nsqvPSW+xwab1QErM4N7LZLLzEDIFVLVES ydc9aEv2s/e2M1zVMNRfBIn0hTvkPXCYLqWFRdlieOqELNb5JYaSPe4TY/CdUxwxTpm7 Fek8IPHnHWyI5C9zZZGM3MYbgezRGK/QizHz5jjbRGESssRrzdp/cocTPw7odqorga+B FlbZFqQSpFAhwczASMRACrxwHO/8AjWP84a9WRXK6fNm8O6efVbMH7rfCm8pnLVY2/Pm qE2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding:to :references:message-id:cc:date:in-reply-to:from:subject :dkim-signature; bh=CojOA0Cd6D44w89fGful52nUI3MSzEEZZlqaey3DZ9E=; b=Tj1+jKn6sQB9DrddPlyU7P9e8jjcpGsz3ArouccGERtD59pvqTH1hHNViry38ezXkj 07kdSHPoFbBhy7z9wcg4uQw83JCtU9OE6CiHgDI2CLK2AaRODVpO3auogCoz888dnRRq MUiJcZRgkp3Gu02FySDdgK5sesSIQKxfU8oATvCiuk4PCELRMKQKGflNhGmiC5ln+7YY ynj5JsYnrxpxchCLPnHl4ABM+VamCJIPNbaZ1oRUJCjCkR8GHwBOXBpCNvd5c+UL+otU gHLP0dbYWpBwAuk0QMsyrp94/jZZFNPDJZOC3+x4C3sStSw8hvqzzHkuuRbk0pTx4hgO pJjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=gOBbk0rP; 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l16si28280281ion.65.2021.07.01.04.52.38; Thu, 01 Jul 2021 04:52:50 -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=@ibm.com header.s=pp1 header.b=gOBbk0rP; 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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236322AbhGALxn (ORCPT + 99 others); Thu, 1 Jul 2021 07:53:43 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:37998 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236306AbhGALxn (ORCPT ); Thu, 1 Jul 2021 07:53:43 -0400 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 161BWr4h028347; Thu, 1 Jul 2021 07:51:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=content-type : subject : from : in-reply-to : date : cc : message-id : references : to : content-transfer-encoding : mime-version; s=pp1; bh=CojOA0Cd6D44w89fGful52nUI3MSzEEZZlqaey3DZ9E=; b=gOBbk0rP05XSU8lQ5OmAkivFJ6P7Wr+jSVsRakBGY2dRfWEpVdMfPtkjKqT8XENejFRu sWiBTeT10Ox0yqpIoclsXVEVzwIa8MOJTFER8L+LFbr3P8gTsY7oB0g7DNgst5elOWV5 LqkVWJndzXy1cdbcvg60f7U2YcBCcX/tocxVet8u4RiZ5gKnUaMgNBL26km9bPwsStSM 5FCQYptFIxPQWLG3KmSJiwBk3K0xLOEZrhhowOQzJRjptuykqZtItw2X/p0QyieddWto foKsYdEPaeo7EXP2kvdJWckkRUB0xJ+D3NmaD1I3QPoGgZNDivHouh5gaLbnyWznYR8N 9A== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 39hc20278q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Jul 2021 07:51:06 -0400 Received: from m0098421.ppops.net (m0098421.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 161BX9Lc029817; Thu, 1 Jul 2021 07:51:05 -0400 Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com with ESMTP id 39hc20277x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Jul 2021 07:51:05 -0400 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 161BldrJ009847; Thu, 1 Jul 2021 11:51:04 GMT Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by ppma06ams.nl.ibm.com with ESMTP id 39h19bgc81-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Jul 2021 11:51:03 +0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 161Bp1rN25625030 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 1 Jul 2021 11:51:01 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7A4ECA235B; Thu, 1 Jul 2021 11:45:34 +0000 (GMT) Received: from smtpclient.apple (unknown [9.199.58.175]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 31079A2358; Thu, 1 Jul 2021 11:45:33 +0000 (GMT) Content-Type: text/plain; charset=us-ascii Subject: Re: [PATCH] sched/fair: Ensure _sum and _avg values stay consistent From: Sachin Sant In-Reply-To: Date: Thu, 1 Jul 2021 17:15:31 +0530 Cc: Vincent Guittot , Peter Zijlstra , Naresh Kamboju , Ingo Molnar , open list Message-Id: References: <20210624111815.57937-1-odin@uged.al> <20210701103448.GL3840@techsingularity.net> To: Odin Ugedal , Mel Gorman X-Mailer: Apple Mail (2.3654.100.0.2.22) X-TM-AS-GCONF: 00 X-Proofpoint-GUID: TZ7z7bYZq0gtBFQlY98jyY8oklaKIpDi X-Proofpoint-ORIG-GUID: CBEB11oueOe_45huybhkWihmbwQs3sF3 Content-Transfer-Encoding: quoted-printable X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-07-01_07:2021-06-30,2021-07-01 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 mlxscore=0 spamscore=0 bulkscore=0 mlxlogscore=999 priorityscore=1501 phishscore=0 malwarescore=0 suspectscore=0 impostorscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2107010075 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On 01-Jul-2021, at 4:39 PM, Odin Ugedal wrote: >=20 > tor. 1. jul. 2021 kl. 12:34 skrev Mel Gorman : >>=20 >> What was HEAD when you checked this? 1c35b07e6d39 was merged in the >> 5.14-rc1 merge window so would not be in 5.13. >=20 > From the kernel log it looks like he used commit dbe69e433722 > (somewhere in Linus' tree), and that should include my patch. I don't > think the patches from Vincent in the previous thread have been posted > properly, and I think those can fix the edge case you are seeing. >=20 Sorry about the confusion. Yes I am using this code level. commit dbe69e43372212527abf48609aba7fc39a6daa27 (HEAD -> master, origin/mas= ter, origin/HEAD) Merge: a6eaf3850cb1 b6df00789e28 Author: Linus Torvalds Date: Wed Jun 30 15:51:09 2021 -0700 This does contain the patch from Odin. > This should mitigate some issues: > https://lore.kernel.org/lkml/20210622143154.GA804@vingu-book/ >=20 > while > https://lore.kernel.org/lkml/20210623071935.GA29143@vingu-book/ > might also help in some cases as well. >=20 > Both of those are needed to make sure that *_avg is zero whenever *_sum i= s zero. Okay, so additional patches are required to fix this problem completely. I can help test these. Thanks -Sachin