Message ID | 20240304030042.2690-1-dtcccc@linux.alibaba.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-89995-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:fa17:b0:10a:f01:a869 with SMTP id ju23csp1189455dyc; Sun, 3 Mar 2024 19:01:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXmPBZPDDv+nKJswp2rGVmrbuZoC2IsVS0SaeJAXtBxNMun+OxNkgpA6wOO7zknrNoiJkRljQyA25Ngo0SjKkex6h2HfQ== X-Google-Smtp-Source: AGHT+IEfTx/gRncvZ68ZAoJaoyrpYJ9s2VKfpsc1xt3tWD1bhf6yO/kBAphMzOD3ayRRnpaFbbO7 X-Received: by 2002:aa7:d7cb:0:b0:567:50b4:3baf with SMTP id e11-20020aa7d7cb000000b0056750b43bafmr753266eds.42.1709521291706; Sun, 03 Mar 2024 19:01:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709521291; cv=pass; d=google.com; s=arc-20160816; b=zyEn5WtnzabmhWCoOAhTjbmISVvm5UoSFpK6igykhkfLNI527vXhxDq1Oxi8ACWY2o 5DRIC9MeMWYWSCNokHbJdokwajm5kVf3uyjuIUlMXlMbioIBoo2XieDSo30J2cPvjo/8 +KsPZGOgna9lxo/6GlcypHBRZAJhFktfONZlU/EoQvQ0tqC0c7OiYGYFWu2jNro6t+Rb SFVu7JAPt2/lXK0p2OCBmEbjoOLklRdVhAAJVnlWr7Rn9HK5sZcv9Asda7JPTH3phv5w +hHKOkXmq/9yCVpnc+2TKDLY4m8K2On4dzY4ZoPSAr6mOYHEr9kayn1yLY3tuQaIjzBm WmiQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=aS+J7p3RRwOja5dl+bHJ8Sx7YM7f9k8lwlebgVQqc1c=; fh=HGPOwMD1U+bU1zkI6pk9BDAYYJSoTCIazwWVkER0sVk=; b=g1BcqofbGOHHeH3t12AacFhW3lJ47gOkaeVxZVB+3eNhl6hlHDeN3BGN0VI6IwS5Pk C46ZjCcXqP3TbUH//JiQlBuJVZG8xm4Y1jRVOV1Mc5I63ELTSxq8gdcmWsEt94WniHID MnYZ/tmozvDfsS8Td6mmIG9JTmMcURE+8RAvVBYGXLu5J/c6ox37kSng9wFy/+j8ymtC OGxznokgcaZnZcXJfzCRHinwJapqUZpSrRehYUhx/mzCfbl48IuabaXMvLc5caFPNxeP wQNe9tVOx08wDcuM11jr4QUM2ct4is0IVGpSsHhI7BwGKZtHAqjbjCwMQpWIKZMvzplK U7hQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b="HwXbhoP/"; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-89995-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89995-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id f13-20020a0564021e8d00b005665b5ddb50si3558179edf.108.2024.03.03.19.01.31 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 19:01:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-89995-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b="HwXbhoP/"; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-89995-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89995-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 549CB1F216E0 for <ouuuleilei@gmail.com>; Mon, 4 Mar 2024 03:01:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 64EE979DD; Mon, 4 Mar 2024 03:01:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="HwXbhoP/" Received: from out30-113.freemail.mail.aliyun.com (out30-113.freemail.mail.aliyun.com [115.124.30.113]) (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 B244F46A2 for <linux-kernel@vger.kernel.org>; Mon, 4 Mar 2024 03:00:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.113 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709521260; cv=none; b=heKGM9MnzXtdrIZuE2o/d4+4LRJvwWZqoNo7MCjW9quh9ChCXvO0VTbiCfI41qu3OL+VQh8BzTy/Ob/ZJLRUFlDKgmeJ8Quqq2UpQFAXq7XWnyycuQqw2yL0J3wcGmlKPYqO7cGprusB84BYqbjJv4u6IZOtycjJvsCLOEcfGbA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709521260; c=relaxed/simple; bh=NJJDtRbQFVy9snM13IFsjlCr4VllPQo815+e3AACI9M=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=hvPEB872rAG7oI+eXA5NrdHGpFXwwMaDKrkpzEgshxzCfLlNddpOwBpTkUquTo6Tl5ht2gtPDjd3IgM2VvfemYojtOlE0A7X4Nym+mFNqbgjem6l1pK7na/TDJuzWLGheXj2xfeyKm3qPAuLcfGhAbdhV6O8Qr9Su/okgRoHvow= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=HwXbhoP/; arc=none smtp.client-ip=115.124.30.113 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1709521249; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=aS+J7p3RRwOja5dl+bHJ8Sx7YM7f9k8lwlebgVQqc1c=; b=HwXbhoP/Nt1vkIL1yFn6vQ8JdleTKD/+aaVtYz1rygubzTtVCBJm2/oAvIOZvDkRmC64xcAOLAN0G7UfSlbYpS4Jcyv2wjKWEo6DocQZIkJbY0DZosF9q09ifixkBhCFnEHYFmqQxwVvBNlZR+XXgOSarfKOQoQVoIkpsm5f2/0= X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R921e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045170;MF=dtcccc@linux.alibaba.com;NM=1;PH=DS;RN=12;SR=0;TI=SMTPD_---0W1i0XUi_1709521242; Received: from localhost.localdomain(mailfrom:dtcccc@linux.alibaba.com fp:SMTPD_---0W1i0XUi_1709521242) by smtp.aliyun-inc.com; Mon, 04 Mar 2024 11:00:49 +0800 From: Tianchen Ding <dtcccc@linux.alibaba.com> To: linux-kernel@vger.kernel.org Cc: Ingo Molnar <mingo@redhat.com>, Peter Zijlstra <peterz@infradead.org>, Juri Lelli <juri.lelli@redhat.com>, Vincent Guittot <vincent.guittot@linaro.org>, Dietmar Eggemann <dietmar.eggemann@arm.com>, Steven Rostedt <rostedt@goodmis.org>, Ben Segall <bsegall@google.com>, Mel Gorman <mgorman@suse.de>, Daniel Bristot de Oliveira <bristot@redhat.com>, Valentin Schneider <vschneid@redhat.com>, Abel Wu <wuyun.abel@bytedance.com> Subject: [PATCH 0/2] sched/eevdf: Minor fixes for reweight_entity() Date: Mon, 4 Mar 2024 11:00:40 +0800 Message-Id: <20240304030042.2690-1-dtcccc@linux.alibaba.com> X-Mailer: git-send-email 2.39.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792562997730475639 X-GMAIL-MSGID: 1792562997730475639 |
Series |
sched/eevdf: Minor fixes for reweight_entity()
|
|
Message
Tianchen Ding
March 4, 2024, 3 a.m. UTC
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/ 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(-)