From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DC3B4238C3A for ; Wed, 11 Feb 2026 00:59:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770771601; cv=none; b=myJdRjeldVBO3H+FM/HDiKIJKURPGCmEvzLqe702nPn7C3Z7fvdBmrom7bkKFJXD4roJYCxN9TbXGe5sTd1wPa4Pis8OOTgAw0DYWP+KLBn9Dl4OnfijIy2NBuekoruGt1yutixI5lGGzXcflkP0prxpttTMYc7l3PFqrtwj8Lg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770771601; c=relaxed/simple; bh=dto+RoTYU9IySSg69Q1VD5OF0R5IwlxSx8+G3NMnO3s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=H5H4+jFg43zBT6JaOBHmE9kHoGCvTJnm9IVdgvjoXNxmfMARwSM4HkKMBa9JH8h9E4WxY4tV2bS9nWv3XEflS3zcQ46Hg4hT/pvZFjLysbNYcaskqBA0ynZKQHOHCy+1B7OTjhMzaIPSkaGRqcsqoDty7kGV5790FWCVLh4ZBR4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=layalina.io; spf=pass smtp.mailfrom=layalina.io; dkim=pass (2048-bit key) header.d=layalina-io.20230601.gappssmtp.com header.i=@layalina-io.20230601.gappssmtp.com header.b=xdpWfdht; arc=none smtp.client-ip=209.85.221.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=layalina.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=layalina.io Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=layalina-io.20230601.gappssmtp.com header.i=@layalina-io.20230601.gappssmtp.com header.b="xdpWfdht" Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-4359108fd24so3998794f8f.2 for ; Tue, 10 Feb 2026 16:59:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=layalina-io.20230601.gappssmtp.com; s=20230601; t=1770771598; x=1771376398; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=5Zzy4wF6040+GKskG1D0Pu1/dcA2uBQDIbH9iWp4IUc=; b=xdpWfdhtwkM1rVUaWqZxoMGkSrL1GX6e85iBsqz4/oM7N3IpPRtLgcvZhkZ4nm4Mpl /RGJeduU2EdxUcfha41h9f6on/V0Q5VEiI2pBg7lnkCtSW30ZHfREx7w6ox/c5Te0haz 8IRyP7Hf3ngBsKp0MsTOLINvVkKxDwJKhXGThKVOsNWdkg49ExVMSNGfsr00vrYloOmJ KcTt+bneLhtNiE+68pomkcWgJj90ghYX1t68p/JNjJOe7WSp1zEKS7sxH4NiJe5vHJfi fKAIJVVPUHp30+DLb1oj19qLBGLv1E7FkEeQSblT8QXWtx3nAP/lP9PEx8Zbj9slmqRE RuFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770771598; x=1771376398; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5Zzy4wF6040+GKskG1D0Pu1/dcA2uBQDIbH9iWp4IUc=; b=Gh/RdxhNx1Rn0+2dfSBVlJNHy7/Z+XBY5cK14iFNSnSy9BKRrHjuH4/0YmIs7xBFSo kfZddWBTAAjZX2VP6lUCsEC30V1cudyDJQbTL/SQ1umbPkOvZXyu29e0mv9/QjuBu3R6 xC8hS+h7y16OnFX5eI76pg0rP07fEGxyKq0owtC//jlqPkY9fjtylJx1nvd0c7OliA6Z Zz0FtVCixFim2CB7e45EYpxp5ViKBNN43D5qF5ETsrdgy5UHEehTkMnBA6Nl8NO9xVLb JZbqcwLJQa3D6VB9WnOLus/3Kotoessrq4BKTYBUa0L1zZBQBMN4wU4PrW7cdVC2KbM/ 3bMw== X-Forwarded-Encrypted: i=1; AJvYcCUHOEAHfPnmt9SjPPcmOCs8SHDZBjgL353VNKkhCZRLOHH3JSV7f8jQp49GAqhC7+6FMwPfNDdWD1+lIvI=@vger.kernel.org X-Gm-Message-State: AOJu0YyxI0rleyNJ0F3C2/ULzi1koeYBM182VSBmzCqPChlmIkNnhGKZ h/g9QtLVvnkMUIkbJynYRWPjdGMH/A93xCyvHck++G0EE6qtYrx9xlBs9hLNQTB7NME= X-Gm-Gg: AZuq6aLCTbwjVoi3cCHlqcdp2uXrSDl/EtLAvrznfAW4sCRsDsuR4mpqQVpWBelBUZc 65JzltyptB7ue+c4mGM7o96iMryNKAaWu1zWVL/oE63Mqw9U1iGp2UdexLyQpaC/Ta9vYerCqo3 8c0AqWoyRNAyzsKYhEabdUvh7e2ibfXO2sMQ7zBaKHLdWOY7oT1WkOYZ+Hkhy32Rdd/oQllhj1Q ujS2EJhdpF17aXeESyDnH8aPGtF2jFixhIayZ1if5fu8rtH7ScULKSI4q3AhcBaLizs3Pq00bAp xN7AYD3Jbsl/D2QlaPH8+5cYnpZVP4f38HU57RDVF06jDjxyd2nR0g79xKtwn8TTP9nDu2AQRBJ kfi6y28LiHg3RKS+ASelBr6+NJBehrgfgDDxUF6Iw96Nd4IHROznDDQkzFRYl2UfbUzMxKntScF YXINpk/SmYAXJvXAPCZWcoF573t/E7xNYX9TvUFEkQIbhCHvXNQbqkRRZfRspk5rPQs8Ivy3sZE MTzhDwrN/j5yw== X-Received: by 2002:a05:6000:1a88:b0:437:6726:80a2 with SMTP id ffacd0b85a97d-437845c56admr223134f8f.59.1770771597937; Tue, 10 Feb 2026 16:59:57 -0800 (PST) Received: from airbuntu (host109-153-232-30.range109-153.btcentralplus.com. [109.153.232.30]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43783d34657sm936231f8f.6.2026.02.10.16.59.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Feb 2026 16:59:57 -0800 (PST) Date: Wed, 11 Feb 2026 00:59:55 +0000 From: Qais Yousef To: Vincent Guittot Cc: mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, vschneid@redhat.com, linux-kernel@vger.kernel.org, pierre.gondois@arm.com, kprateek.nayak@amd.com, hongyan.xia2@arm.com, christian.loehle@arm.com, luis.machado@arm.com Subject: Re: [RFC PATCH 6/6 v8] sched/fair: Add EAS and idle cpu push trigger Message-ID: <20260211005955.2aqc44be5wlk6nrb@airbuntu> References: <20251202181242.1536213-1-vincent.guittot@linaro.org> <20251202181242.1536213-7-vincent.guittot@linaro.org> <20260206183017.ovewgke6r4cvt5pf@airbuntu> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: On 02/09/26 14:20, Vincent Guittot wrote: > > > > > + util = max(task_util_est(p), task_runnable(p)); > > > > We must take the min(util, SCHED_CAPACITY_SCALE) here since runnable can get > > too large making the condition above true even if you are on the biggest > > capacity cpu. > > hmm task_runnable should not go above SCHED_CAPACITY_SCALE. do you > have seen cases where task's runnable_avg goes above > SCHED_CAPACITY_SCALE ? > > In fact neither task_util_est nor task_runnable should go above > SCHED_CAPACITY_SCALE Yes you're right. My memory is hazy now, but I recall I've seen runnable_avg jump above 1024, but that might have been load_avg.