Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1010945lql; Tue, 12 Mar 2024 05:07:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUXxVcHQwkHxAy3MI/jprHgahs97/S3Y8qU3qIYnSJ4THbdXX8ZZSAjjpEN832KFSOult1ao6EX7dmrLmOzJwQFTn7OFQ27UlFDzvh/Qw== X-Google-Smtp-Source: AGHT+IHPhiTYH8mKKieQ8pr/hsAcWiRxWCv8RJF8t/TO8fLqh/xjh7bRJA9+mnIBN3wqLu2CmP28 X-Received: by 2002:a17:90b:4a49:b0:29c:498a:211d with SMTP id lb9-20020a17090b4a4900b0029c498a211dmr704041pjb.21.1710245269028; Tue, 12 Mar 2024 05:07:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710245269; cv=pass; d=google.com; s=arc-20160816; b=kWM+PmJ/AxQuVrdjiT9RaaPS5TPXCKc35WACsTUYqH5hHwWrJY0A6f+9KqcoDkDseu zZonX1HdVX1T1ww7Brtx/nrV1VUFpCTy2TQ686J1Wq3ZGhH0bYcrj5/04tZY+aqQbGdM 9o2yNYMCPNGXN0P1IXO3GtK5RzJlinPeCSbuZaDpvJ/K0XhBcjmDyEXdgk6QrE8qIdRm bCn8LRdiHBZet7WVZMzDw8yqZCg8n3BSF3glWZzSUJ8sr+Ym9bIfQPTVnX95QPe4Wbpc BK1Bskc/iSsL7h3dpb9S/tVOfItYiuDPZT7v3WaRymOiSpaBYrtxkLiAHKLAluH+3hB5 tgHA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=VYPiX7D8uOhW7FpTjkVxkOHST60KtrRE4NXnMlbJRfo=; fh=KXMbp4dVRfrlh/fdrYZv+VCUZ8LZqflnwLTFNQfCxU4=; b=EBOdUMQpImuuIaxgaNjLqgBqNic53FcCE3zdBSMlAufx8CV07CQ6p3EvOiYEut/N/H tpJs6SFGQOn906zcdEblX32n2+GKLk+7UDd0Iaf+9wCnpII4T+x44/G5Z3D+PuLzJJRl 8aQszE0Z8ZgUN/a+FbvX14liilxBihD7cKU2tua+PbH1vGeW76eTTaJGq8dYDQ8vRd2r TCRGcCYKEt820kxxP52Nbaj5MUVrVzb6y8yoC4CnPo5yLHoVQoQQ4RLWw5QnreazRAKE aCXgEsEUKRuBA4IPv3cy2h4hoj4QVeL86ONxCsp+gltI3pkkwp+/S5wZZWG0WDK9ziE7 e4qQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=CyDKLnns; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="j1/PI/u7"; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-100218-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100218-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id h2-20020a17090ac38200b0029be5884d59si5455110pjt.173.2024.03.12.05.07.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 05:07:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100218-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=CyDKLnns; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="j1/PI/u7"; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-100218-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100218-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 131DCB24422 for ; Tue, 12 Mar 2024 12:04:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 77C2F7EF0B; Tue, 12 Mar 2024 12:00:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="CyDKLnns"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="j1/PI/u7" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 D37EA7D3E1; Tue, 12 Mar 2024 12:00:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710244836; cv=none; b=KAf6NFVhRhh071HkAft8oWZz0O9cxHABwTFuRPdeC8SfijudD1hNmAGQAiOZ3MaBkQY6qgbC94WZrp9yfOSYCuYK7EOgqz6nBnVv1eT1ruOjVIXY9huz6urTO/VPgzcjn8ebFLWre5lXFed0Q0VUUW8IqnxMPW0e9vWYZNqNVC8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710244836; c=relaxed/simple; bh=GhaSFhlDRTnOjkeg6M1RNoMUvKLgDdMJa+3PDZrqVLA=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=ZWZQDLkTtfKizrYbNY6RlXUlkw6ZlCJ62YuO0AFy4JGzGjbQy587It8WMTv6ovHWZlLPaJ9Bz+zhg05ljpms/Js5TZCZV6IJBDmOLH3l8iUh2zS8g+JpWJKQvB1YPnxpHcNALYVn8sl0hu7Vz3MMmdCRSoye0ROjdHUyiKd5w4o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=CyDKLnns; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=j1/PI/u7; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Tue, 12 Mar 2024 12:00:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1710244832; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VYPiX7D8uOhW7FpTjkVxkOHST60KtrRE4NXnMlbJRfo=; b=CyDKLnnsuxkpn4bq/dbTETCQJbPzToCc429Xfky84QCZMRwc3jdu8GEgIxvS2dEAMzBpxO DfsnKeWEC3Z13w2tTSp4YbfSWQea7m2Mm4tgdW2B3Fy332nd14+Hzxy3ESXRfUFrPBpbIW riCLFA80f4ygNpkoBPFa5D1abbxHCGiQEAUMdFDrDuDjRI/pTlJp2mDs2FjTPootaDfio5 t7mmjiBm6ouO87cy7ct/x3zrUbQ81eOrIVogSJmGqzzI8+dBpAguiFurptb5c6h9O9z7Al NeBCYwvJW6X5Esr3xZWS6V/hFC6mouUcbanSHwuahGp3GWGvXnuSbtHOrbUNzA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1710244832; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VYPiX7D8uOhW7FpTjkVxkOHST60KtrRE4NXnMlbJRfo=; b=j1/PI/u795UAZ5oE7m7/lqRKxvdGTaXV0ll70hc2YMxQPeLNvwxVoYrFM7CaI6E09Nz29w zz2yD6LPl+bcPXBQ== From: "tip-bot2 for Ingo Molnar" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched/balancing: Fix comments (trying to) refer to NOHZ_BALANCE_KICK Cc: Ingo Molnar , Valentin Schneider , Vincent Guittot , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240308105901.1096078-8-mingo@kernel.org> References: <20240308105901.1096078-8-mingo@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171024483120.398.1159218386469274666.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the sched/core branch of tip: Commit-ID: 3a5fe9305719c680ccf63216781a4d4068c8e3f3 Gitweb: https://git.kernel.org/tip/3a5fe9305719c680ccf63216781a4d4068c8e3f3 Author: Ingo Molnar AuthorDate: Fri, 08 Mar 2024 11:58:58 +01:00 Committer: Ingo Molnar CommitterDate: Tue, 12 Mar 2024 11:03:42 +01:00 sched/balancing: Fix comments (trying to) refer to NOHZ_BALANCE_KICK Fix two typos: - There's no such thing as 'nohz_balancing_kick', the flag is named 'BALANCE' and is capitalized: NOHZ_BALANCE_KICK. - Likewise there's no such thing as a 'pending nohz_balance_kick' either, the NOHZ_BALANCE_KICK flag is all upper-case. Signed-off-by: Ingo Molnar Reviewed-by: Valentin Schneider Reviewed-by: Vincent Guittot Link: https://lore.kernel.org/r/20240308105901.1096078-8-mingo@kernel.org --- kernel/sched/fair.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 84d4791..f3c03c6 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -12409,15 +12409,16 @@ out: } /* - * run_rebalance_domains is triggered when needed from the scheduler tick. - * Also triggered for nohz idle balancing (with nohz_balancing_kick set). + * This softirq may be triggered from the scheduler tick, or by + * any of the flags in NOHZ_KICK_MASK: NOHZ_BALANCE_KICK, + * NOHZ_STATS_KICK or NOHZ_NEXT_KICK. */ static __latent_entropy void run_rebalance_domains(struct softirq_action *h) { struct rq *this_rq = this_rq(); enum cpu_idle_type idle = this_rq->idle_balance; /* - * If this CPU has a pending nohz_balance_kick, then do the + * If this CPU has a pending NOHZ_BALANCE_KICK, then do the * balancing on behalf of the other idle CPUs whose ticks are * stopped. Do nohz_idle_balance *before* rebalance_domains to * give the idle CPUs a chance to load balance. Else we may