Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp223151lqg; Fri, 1 Mar 2024 03:23:56 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXrT9yOs2hkYa6QpTsA59k0i7drOlC5auxmX8acDxRcVocm+rPV3BSZLNq5gXiNp9QAXX4hDfzGOOHyzxtz8vc/+8kFfXj5AqcuITCPDg== X-Google-Smtp-Source: AGHT+IEvnTBmlPqPUw+8fK6Chudw8gcrJTnHAojmYJpE0ykIpzWNcfdo0YXNojFxpBjlXjBQgGJO X-Received: by 2002:ad4:51c2:0:b0:68f:4372:2b46 with SMTP id p2-20020ad451c2000000b0068f43722b46mr1617841qvq.15.1709292236369; Fri, 01 Mar 2024 03:23:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709292236; cv=pass; d=google.com; s=arc-20160816; b=T1pdjw4SmGq1IJsCpRz4L6BQ9z4iBD6jxuoZPJkXkgFbt4IMyIWTDqFknexVThY8Bt gkwK9x4Gwo18vYIqV5cNL5sS4gC6q4rj9xFgRwwAfqgBehF545xxvp8CiZ+42/MM397i c14wzuAFkTzt1j+4FWNrtdMcpy6lIHN4RM8VPrcYuQvN4DNoY6EHzsppZbUFbFtX4eeE GjSOyQYIjUq6AfSP6fo7MapwYwzN0jCtjQFPEMThCf1/NvAyqhY92m3ePOFprf08TGOw gnjaDWfzlMRuAtNNLLe0gDyJBxaqqzT6mm8yMgGxDzPjHVSOor0xgbc2igDgYdQdNGGz aiiA== 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:sender:dkim-signature; bh=WbV4RstQ1yy3Py1H9UD5fXpvupqpgOucnTFrZXkpzwA=; fh=1xZ2Xkm2EmvJfcslDiEKzF4V2MCut/QeyxA5jmrN7us=; b=wWTEWCixKfNFiE6Hxxapi0W8L4U52Y9tMi53R0f4cfAfIXYroq4hceCC6o9ZAyvecR NkyO0QBa4KNSEae5X/lP6NK94KJ13y21GEbnW/HQuHwj05TCyz2HIZlNurw27FtBvuoa J4gSCq6tHm9b/rBQZq2u8lv5S3KalLjLdlhC+jKmdBO2noJhaDGxz0/50qvQU/e4d1mG VNGZnRgkuiDh3B8keIKwBOGOSxqK+U/HrBx292OQhWg7JHj7TDVrM820IDLNi+/Mhe3G Ru8Y2QVk5HoFrY2zQUUxBv0fT4+AGcJqokODVLvX3fDY/PRgiIhvTJWto7soq+f9mdBY or9g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=b5aPG4RN; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-88333-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88333-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j10-20020a05621419ca00b0068fdc47fd29si3355038qvc.601.2024.03.01.03.23.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 03:23:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88333-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=b5aPG4RN; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-88333-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88333-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0D1D91C21301 for ; Fri, 1 Mar 2024 11:23:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6174D6BFC6; Fri, 1 Mar 2024 11:23:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="b5aPG4RN" Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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 ABFAF6BFCD for ; Fri, 1 Mar 2024 11:23:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709292225; cv=none; b=MFxA6Af2GV7UDt2Qp2Q7cstHZmWeuyuxjJ6c8DOi0ap1T1AAi4QN/Fdibh7w6EeM45ttw/rtFbHSzNMy851UrsFdXJK9hdi7FPG918rd+CC//OGewaYaW4ujeZ6NVYDyiX2KmobdqrRy9XKhgLLR/YVpsbysyMND8xkg2MeDrOU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709292225; c=relaxed/simple; bh=k8hEiunDT72IUYaIDVDVkRmFIKsyAIql5+BCw4Jt3ao=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=a++e3t/cbWbn8tenafRZxxVOyxDHRiFfQQ5g5yo+1EAu0gMekXCGoevS93y55yFk6XgBA/q7PwYvet9duCRzm/mz9nEU5myjvNJjgN/5ludyuKOolYkzxk3v/1w1pI3KiJoFLUETjEHpex2DOQOSitXjPSvjYDvbfqEGvVlvSfY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=b5aPG4RN; arc=none smtp.client-ip=209.85.167.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-512d19e2cb8so2318411e87.0 for ; Fri, 01 Mar 2024 03:23:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709292222; x=1709897022; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=WbV4RstQ1yy3Py1H9UD5fXpvupqpgOucnTFrZXkpzwA=; b=b5aPG4RNWLm7X1h+5G6+NCs2SVcPVdcjg+QcDDN5C6zsi1juv+ouPpK+O8XV0N8gs5 aMQsRADHAbKOQ0sO9I/6axn7MrJrQhz+7o4mjbLEndGrLUOsn+sYK7TGeATXcI0Tbbbi 7xQDb+6oXD/9KIzzRlCHiByQSOwE5kaDCyVJQvjILAeZpwoRK/ZR0S5gnj2SPUQ8yTZM xoq0/XqMC11cC2XtXR64jvnrbavGgeL4aGK+367m230RuaG6eZu0e9dRNrSjraXSBVIf M93+WgYsx+oTx6azWpbloV24li2l/YOTLWpOZ+rrE94OZrdfxbO9SfIQsC+lkLzRrKlc kTaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709292222; x=1709897022; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WbV4RstQ1yy3Py1H9UD5fXpvupqpgOucnTFrZXkpzwA=; b=bGh/vwkBsVye7exSR8LZIUYU3lZs1/kCkWseEn7K4PvxjGN/87RY/ytkaTdnpzjbee zkZkqOje9fTAtib57z1K4fgKDK2+WRT7BBH290hurXE3f9IvNOPAntS9aO92123tjfoj kJtFLwxNAKwMNbxbu+d0lyEXqKdcjlw1ta/Nnd7A2QktYCo6/eSE4k6whChHth2Q3xV+ HpKPOQlt36x8Q2qhXnfx4dbCa58qZA8bQDa2Znj0+KI4PCZD6H6WnzlGWk0ppPwCI6hn FYni1U5cuoks7qUpKh+p+s+TmXRuS3rRepphlynV1Ep7lVtD92jG8see3CpQ0AUS2FX+ /yLA== X-Gm-Message-State: AOJu0YymvD0gsQEGUNOstp4y2AXapwLldl6CPx4DnuNArB5FlN/Ajw79 M821p2V2Z84HLbaSPjXLXHR3GgoqTp7rU+3GvlG7erarCQY2RJBbp+gcrjOBUY4= X-Received: by 2002:ac2:4892:0:b0:513:1cc8:6d0d with SMTP id x18-20020ac24892000000b005131cc86d0dmr1026806lfc.12.1709292221702; Fri, 01 Mar 2024 03:23:41 -0800 (PST) Received: from gmail.com (1F2EF13F.nat.pool.telekom.hu. [31.46.241.63]) by smtp.gmail.com with ESMTPSA id bv16-20020a0560001f1000b0033e0523b829sm4429110wrb.13.2024.03.01.03.23.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 03:23:41 -0800 (PST) Sender: Ingo Molnar Date: Fri, 1 Mar 2024 12:23:39 +0100 From: Ingo Molnar To: linux-kernel@vger.kernel.org Cc: Peter Zijlstra , Vincent Guittot , Dietmar Eggemann , Linus Torvalds , Valentin Schneider Subject: [PATCH 4/7 v2] sched/balancing: Fix comments (trying to) refer to NOHZ_BALANCE_KICK Message-ID: References: <20240301110951.3707367-1-mingo@kernel.org> <20240301110951.3707367-5-mingo@kernel.org> 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: <20240301110951.3707367-5-mingo@kernel.org> * Ingo Molnar wrote: > 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 > Cc: Peter Zijlstra > Cc: Vincent Guittot > Cc: Dietmar Eggemann > Cc: Linus Torvalds > Cc: Valentin Schneider > --- > kernel/sched/fair.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index 934ace69eb30..31838b9dcf36 100644 > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c > @@ -12410,14 +12410,14 @@ static int newidle_balance(struct rq *this_rq, struct rq_flags *rf) > > /* > * run_rebalance_domains is triggered when needed from the scheduler tick. > - * Also triggered for nohz idle balancing (with nohz_balancing_kick set). > + * Also triggered for NOHZ idle balancing (with NOHZ_BALANCING_KICK set). s/NOHZ_BALANCING_KICK /NOHZ_BALANCE_KICK As the changelog says. This change got squashed into the wrong patch later in the rest of this series that I haven't posted yet. Find -v2 below. Thanks, Ingo ===============> From: Ingo Molnar Date: Fri, 1 Mar 2024 11:30:42 +0100 Subject: [PATCH] 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 Cc: Peter Zijlstra Cc: Vincent Guittot Cc: Dietmar Eggemann Cc: Linus Torvalds Cc: Valentin Schneider --- kernel/sched/fair.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 934ace69eb30..4c46bffb6a7a 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -12410,14 +12410,14 @@ static int newidle_balance(struct rq *this_rq, struct rq_flags *rf) /* * run_rebalance_domains is triggered when needed from the scheduler tick. - * Also triggered for nohz idle balancing (with nohz_balancing_kick set). + * Also triggered for NOHZ idle balancing (with NOHZ_BALANCE_KICK set). */ 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