Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp472920lqt; Fri, 19 Apr 2024 01:03:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWbhclGF5wKjbhzNNt076J+szQBo7AEqsoVP2c31PLm3WI6u3uysUDaNHDWgKFEN6+JfKwmmJveXuv6c0fkGJOlvWH0OQ53EINZ1nFA1w== X-Google-Smtp-Source: AGHT+IEcCHsKPew7g122QkTnJjD8y1oFtEj9f1AJ8fWRHcAd+zjGdpNRwO3GVZCu3Riwq74DPfgw X-Received: by 2002:a17:902:b286:b0:1e8:6a9f:4fb2 with SMTP id u6-20020a170902b28600b001e86a9f4fb2mr1392169plr.13.1713513807920; Fri, 19 Apr 2024 01:03:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713513807; cv=pass; d=google.com; s=arc-20160816; b=PS8bC2G3iiLIlxL6dS5aLJWURhwmzJeicBRHN7cPf2qytBAlxQsJqxgP840E0SIHn+ bgQ99bscc5/1dBurv798QlDhalU55B+5laHuRn0tHIWh18e6PVS1QuSPAgojXJufXnxk wvnfhMQS1qaTP0Sm5Yy8hSr94+XFSnW/0grznpVrlPKV1RfqwA3CF5skWeTloBF0LYvW w0YfI0T4P1+DzCeFDshTIKndKuU8Tpa3VaT98C/6acVHcId0Co8HJjL3W2qDNnUuHJSz FYAR80tTqpvXUQ7wcDwLO1yMikDKtrxlZx2LRu45EheJxaJxQvCQhyCJy8PHL0Nve6/b 6piA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=FMuI+dT3XqFEPP+Emi47R09drJIeCsXDMdFMNlbhnZw=; fh=Y2u+ntLU/c/773txfjqeRwGO8IdqD6RPFJfZwjcVYpg=; b=BXkSedyZx/uO+xekdBElFkEyGb8pFjCQCLXPRBWWNulHr7b5ulR17WaLfNfupc8w4r CBsqJDIKtQ+nVo+LXac9RiA2BbF/iPz1mN2tFSnV+oBzE1Fd3D+9rMCeEys0HcZ6haw0 WvpkNc8A6pnTd59lkw0CpqKuWxgx9J/Nn5NpUyJBC42QsY2NJiTPO0SKMGWtJTDHpYbE Cj+u/LdkiCexy6sUMFZY33gnY1XUY3vNl9tstEhWV8Po2OR62ugw2YTTOIFmWM9Ab6rI xO/2xIKcD9/Z0a6tm2WORuK3pgHH5/6bz5k4smQKz00OL9erAEFCUJQtKqEVI6ZxIuLd HPxw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=YPiRhQd7; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-151142-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151142-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id gq22-20020a17090b105600b002ab4951a8e5si2833735pjb.27.2024.04.19.01.03.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 01:03:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-151142-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=YPiRhQd7; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-151142-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151142-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 90042281BD8 for ; Fri, 19 Apr 2024 08:03:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 62E7C54908; Fri, 19 Apr 2024 08:03:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="YPiRhQd7" Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4B7947F5F for ; Fri, 19 Apr 2024 08:02:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713513779; cv=none; b=ILEca+UAi0+mxdCrtFE2h4woHIr2bU41zijQUTvYT8HW8IPceLZ+bIOdwPtuRYkzrXw+pSP1PgnhRF0CsCNGySTrtn3ZInHyne53TK1JBAfVSmGqeez3PyVWLOs/Ip0KYMMvQ3eN+BTPOhd531xzpc5HBWVj7k5+YlaqoEvZ3CY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713513779; c=relaxed/simple; bh=e9Z9fHaDuuyDcM8MJB7nt0Ow36cEbjSGpuLTk/QCexI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BWuaANPYbvZW+PUqOWmKgYdcIutggM5icy7vCV+S466u78p5DTuTP0tXPKww8o4DKUGvA97uV9q4CkxhCHvS3rrBEgT/bFcdF3KgO1T14sX4wIQ4V6rKYqW9POeUe9NFSNvOmvSCOAi7gBgv7YAGP6djx1SJb0FjqPXA013Se8Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=YPiRhQd7; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=FMuI+dT3XqFEPP+Emi47R09drJIeCsXDMdFMNlbhnZw=; b=YPiRhQd7N8Gq/P8bfVKWLvNM11 UPnSghquqOBp5VRkeI1EwLB6aoeBeby+3a3C4jUC5K8h/FfAYIxa5LyhCqsVJeCEAEOp/BnHiykAa svEuQqF8R/g77xlnw2kgVzWbwQcIRFOF7uXNF4jQX9g6iv6fRBEQTheA2yKmc+TTPpMRfdJCDK29b onB7sDTmWAdZ0PUUS/vKqULejrBSfVwqKNfgEHPihpFjQNgqwpGx2cXYMUtjtDXHP09smFPtoRpk+ Trx6j1rdMqGJI+0STjDj+Hiq8nQKmq7IuJWofepz4LJHzoNSWaMbEpB9sDSDCHXAhr4iajY8mcNWn 8v9qm4IA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxjCT-00000007E1p-2QTI; Fri, 19 Apr 2024 08:02:26 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 3F0723002E1; Fri, 19 Apr 2024 10:02:25 +0200 (CEST) Date: Fri, 19 Apr 2024 10:02:25 +0200 From: Peter Zijlstra To: Chen Yu Cc: Tianchen Ding , linux-kernel@vger.kernel.org, Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , Abel Wu Subject: Re: [PATCH v2 0/2] sched/eevdf: Minor fixes for reweight_entity() Message-ID: <20240419080225.GA6345@noisy.programming.kicks-ass.net> References: <20240306022133.81008-1-dtcccc@linux.alibaba.com> 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=us-ascii Content-Disposition: inline In-Reply-To: On Fri, Apr 19, 2024 at 03:27:30PM +0800, Chen Yu wrote: > On 2024-03-06 at 10:21:31 +0800, Tianchen Ding wrote: > > According to the discussion in [1], fix a calculation bug in > > reweight_entity(). > > > > [1] https://lore.kernel.org/all/59585184-d13d-46e0-8d68-42838e97a702@bytedance.com/ > > > > v2: > > Add fixes tag to the 1st patch. > > > > v1: https://lore.kernel.org/all/20240304030042.2690-1-dtcccc@linux.alibaba.com/ > > > > Tianchen Ding (2): > > sched/eevdf: Always update V if se->on_rq when reweighting > > sched/eevdf: Fix miscalculation in reweight_entity() when se is not > > curr > > > > kernel/sched/fair.c | 12 ++++++------ > > 1 file changed, 6 insertions(+), 6 deletions(-) > > > > -- > > 2.39.3 > > > > Applied this patch set on top of the reweight_entity fix at > https://lore.kernel.org/lkml/ZiEaKOQwiNEglYtS@chenyu5-mobl2/ > it has passed 100 cycles of trinity test without any issue. > > For the whole serie, > > Tested-by: Chen Yu OK, grabbed these patches (and made some minor edits), now let me go stare at that other thread again.