Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3103686rdh; Mon, 27 Nov 2023 06:36:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IGRLYKhRn6MdD9xSP65unQWGlLrK/YD9PE+8HiQtkduPubMEejUeCwKSyyMjHxZ1wjycwqK X-Received: by 2002:a05:6a21:a594:b0:18b:4a28:6e21 with SMTP id gd20-20020a056a21a59400b0018b4a286e21mr22259827pzc.26.1701095798265; Mon, 27 Nov 2023 06:36:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701095798; cv=none; d=google.com; s=arc-20160816; b=sCKS1zPcIdQiht8r0U4bTuW3NdeXOcRZqRPicgogyj30kUgenG4/6QiX+wFZppsSxK KVOw7HfUAfFLqon/wMLx/vIxRzMq6w+2w/9jrYFmTYYo1pYEpJ9gnSYdnXc3ax5oTPrg lBIcLMXP5bbVdAZg4Ijds+nH3OxuLWCgQXBdQ0txZhFxRExPee1HsLxdT2SylNbho4+N Hdiqt5isQuP+bEtvj9rWJBIayv1PMvXAeywKJXirIv44eXP44GgLc/KRtfUe1dvaJAkr 1wvNaLTbIjWc53Zay7ihUSMbmwi+49U+THbCUcVJcpkkVmzYeTfzcdQ1sy/1UosMzJoP 3b/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+3q1R9G6lEi+npsw/lKpAN9ZaKMnvPi0OuvIH02EHfA=; fh=5s7M4tsgi7IZkhd+FKQp+l7TlkrAgfr/LOb5MzYE+ZI=; b=JSBKMqtQkIBUk2DWO8VcEtMO11DxtJQ91FplkBw4pK3C4hppBoh7p+DasJL1AGNwkO KnTtbZNtjC1T8QyKTTSvldztM1NgBT3BNwwiz8FK2lQnnec0VsRyEqFRRt2rYgeOO+la ppgSbLYbgG61Pe9jrjjVvWCs+4P70fmjS1P0jrn1L6jmYD45p1FLDLtLS02Ur5bhRz9L kYp2OyNcrNA3vJi+N+eEbBxIm2W4M66iwwF+ihMsiCsUrvk8X5xDtiIAAA+0DT7y+993 D+n9I3oWLAiGyJ2Os/VDvWK97B5w4RX9izwQ62Um8oOGXtUly6gb+ALsj69KHLwaBAqH GFxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ErbuYcjT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id u17-20020a632351000000b005ae22729b09si9894198pgm.683.2023.11.27.06.36.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 06:36:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ErbuYcjT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 5E410807C872; Mon, 27 Nov 2023 06:36:13 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233868AbjK0Of6 (ORCPT + 99 others); Mon, 27 Nov 2023 09:35:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233897AbjK0Of0 (ORCPT ); Mon, 27 Nov 2023 09:35:26 -0500 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2434A3AAA for ; Mon, 27 Nov 2023 06:32:47 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-507a29c7eefso5603655e87.1 for ; Mon, 27 Nov 2023 06:32:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701095565; x=1701700365; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+3q1R9G6lEi+npsw/lKpAN9ZaKMnvPi0OuvIH02EHfA=; b=ErbuYcjTg94zudsQWK5IjrwDKcvikX6576r5XSjXeZFG9eZ+T3C4gbmr8NE6hiEngx ic3yhRkhPkBhxgNXfDFiMsxwt/g6iG6hzpC0W9phMkDD0td59WafayisxLG/XUPiXkJ/ odS9NWbOryDhjUcPQ0kSBTR1P6rXw+zF6tCBXdD5e2SxSgZjgBlOEc/NVJZBmSaHhVON ioNJSzqrh461f32n4gfGnfak41qFJ/9YBXYYuosSrayxftPVfvy3TpH9+771KdGSYQgg Vrx4qCyc6f6dKokO/aWDbq7VQAHwaWivunMk+BYkXR+E8VcPmv30NPdm9/GUj6wwOXnd HuvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701095565; x=1701700365; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+3q1R9G6lEi+npsw/lKpAN9ZaKMnvPi0OuvIH02EHfA=; b=hxkynE7hiGTDIaG7KjOMqdtJbusTr6NELkmHt4gIhy+u1sss8ZUcXHsj2zLA/S6053 YWmO+YChXrWL2Q+6woacr/YCK9iJ0JktPjLuxubNBKleMcO0vafVdAR7NcqI0OH6u1Hz aANU79zu+KXxpmtLWfDR8GKpmcuuxjqRA834yVLZ/+rgsjFveo5yiadmOQz3QxtyGi7z ikbxUls1WAh1VlF63t/dHHwXGb2vnJwiIls8Er1Uz+yAbL0643cngVkleTxdD00GUt1J b3i1IFxWTldHq9mVbX4755uqbYLICf7G1RrijIes1dmdUqh4EYBUf2qTHCLxI5LdS2jv 20CQ== X-Gm-Message-State: AOJu0YydWjDQMqvip83904QpLBp7JAjYOQ/0hIcUmeoZ6wVCq+DUAyTE TDo6HAHCOwmXkU4J5GJINBvovg== X-Received: by 2002:a05:6512:3996:b0:50a:3c38:778c with SMTP id j22-20020a056512399600b0050a3c38778cmr10150685lfu.12.1701095564776; Mon, 27 Nov 2023 06:32:44 -0800 (PST) Received: from vingu-book.. ([2a01:e0a:f:6020:cc67:4d1a:fe5d:819a]) by smtp.gmail.com with ESMTPSA id i2-20020adffc02000000b0032f7f4089b7sm12174392wrr.43.2023.11.27.06.32.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 06:32:44 -0800 (PST) From: Vincent Guittot To: mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vschneid@redhat.com, corbet@lwn.net, alexs@kernel.org, siyanteng@loongson.cn, qyousef@layalina.io, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Cc: lukasz.luba@arm.com, hongyan.xia2@arm.com, Vincent Guittot Subject: [PATCH 0/2] Simplify Util_est Date: Mon, 27 Nov 2023 15:32:36 +0100 Message-Id: <20231127143238.1216582-1-vincent.guittot@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,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 lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 27 Nov 2023 06:36:13 -0800 (PST) Following comment in [1], I prepared a patch to remove UTIL_EST_FASTUP. This enables us to simplify util_est behavior as proposed in patch 2. [1] https://lore.kernel.org/lkml/CAKfTPtCAZWp7tRgTpwJmyEAkyN65acmYrfu9naEUpBZVWNTcQA@mail.gmail.com/ Vincent Guittot (2): sched/fair: Remove SCHED_FEAT(UTIL_EST_FASTUP, true) sched/fair: Simplify util_est Documentation/scheduler/schedutil.rst | 7 +-- include/linux/sched.h | 35 ++---------- kernel/sched/debug.c | 7 +-- kernel/sched/fair.c | 81 ++++++++++----------------- kernel/sched/features.h | 1 - kernel/sched/pelt.h | 4 +- 6 files changed, 43 insertions(+), 92 deletions(-) -- 2.34.1