Message ID | 20240301110951.3707367-5-mingo@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-88301-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp1002742dyb; Fri, 1 Mar 2024 03:11:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW4mru5YJICCGIIo6HWC0wf425kPKKbidqtZsuF+OdfJXFRUXHb6lklJvAVqdk+2l0ZkUEzBnrBjXXiidhfmtkKuZzAnA== X-Google-Smtp-Source: AGHT+IH+ljtAP1w1hh0jKx3KxbkS++bXgVsLab60AVmQt0N3ePEqb1oRPNS+T9AS0K8jFDJ3JvD7 X-Received: by 2002:a17:906:abc2:b0:a44:9756:f73f with SMTP id kq2-20020a170906abc200b00a449756f73fmr813369ejb.68.1709291478557; Fri, 01 Mar 2024 03:11:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709291478; cv=pass; d=google.com; s=arc-20160816; b=T1CeYx/FYXb+XwgRwzNgWaveVCm2ZbDawilX3/lfuVoHS7m4t/hv2BeBzwxF9Bdwae 5ifPhnYj+xU8QPTisnUmRZoNkm/euJK/gL8kdvKJZz0lOx88cqV58R0gigzM2QlD3Noc kFqMar/7AZ+CQWeVk5zhCwOecNIbHsqWXkpyf/0fnzUik2KaBTZRsNLXngK0HhzNg2Nr VzO7LXPw3pbWuyRKZBmfsR8QGlmbNgw/AopDGLHG+F7Btec9mgQhQpFGnbWtZ+rXhdWI RqBgZ3rs9tli5IR1SMRiaTsf75V7I5qDOdRKQQaXgKhwYp/xOVLDNI9ec4SwhJisNwWd AtBg== 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:references:in-reply-to:message-id :date:subject:cc:to:from:sender:dkim-signature; bh=cD+TwI/HZoywmTZsork3oY9Fn4598AcRR6hubkpx5Is=; fh=1xZ2Xkm2EmvJfcslDiEKzF4V2MCut/QeyxA5jmrN7us=; b=rWVUwY3zU/nB4RdeP6LLnCrXn1F6SHRETpWGtKJyQc4KYfFz9zz/k1+RqR43Ge1TVX y90tjikg8Pb41KLECPlRZs9eGDOEiVFwWH2orYF7Xch4wXnUSFtgQbAS+e2FmtJs/0BW agHwcJ1LKpVzKL9oAs3ULaYiETRFeHprYD3BHMSDy3oxQUF2M6FmdvuEvZuA/putDj57 ccGMlWn2pjjjiRhq8hVwa+cj9jXF1pbihuMdbFtpljiMZIeCd1RVFSOFlkOKpDISlgD7 0nxnH5q7BPlNMOZFEmADugHV7Yx/c9xZyeMgZ5zhtAqKIg3gvhd5GZSkY2tlKoWyUad6 zDNQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZCZo2iIH; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-88301-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88301-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id go42-20020a1709070daa00b00a43efa48475si1388758ejc.818.2024.03.01.03.11.18 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 03:11:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88301-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZCZo2iIH; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-88301-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88301-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3208C1F22AC7 for <ouuuleilei@gmail.com>; Fri, 1 Mar 2024 11:11:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 75E5A6EB4B; Fri, 1 Mar 2024 11:10:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZCZo2iIH" Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (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 516E16CDAF for <linux-kernel@vger.kernel.org>; Fri, 1 Mar 2024 11:10:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709291404; cv=none; b=qalCEJzmiMF8vDu5nzttI4sid4QN7zIuuns11yhfllq2za03E6dXMGtaATSnRq0ySFCcrhUilE2JdRVkb0OCtPCKcDbjAGDQsDq7NPoiioGUInE1gK/XHK5ikU/8rZF8n0l33s98g0hOe2Z5G/VOwan2hLd0u83hCLKpX96QNl4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709291404; c=relaxed/simple; bh=TW5vxueQOJxD0Gl+Zr9DXeL15E/AlN64VY2kWOen7vo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=nFiC4Awe22bgsCNOKgUGI49ScXUMskQRyHahExUm3SkHvuu1tFa2hLhC6u77NfLr3IaLC5HbkBCIcNI6fkuf3o5vcAKnmcdeHUtH7tkOT6/ZG3rdKh4OH1yA9/xbpoG/ojBYsTYOUJQ/k9JboROXxsXHICeCPkgU90LrWzWoRro= 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=ZCZo2iIH; arc=none smtp.client-ip=209.85.167.42 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-f42.google.com with SMTP id 2adb3069b0e04-512bc0e8ce1so1959620e87.0 for <linux-kernel@vger.kernel.org>; Fri, 01 Mar 2024 03:10:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709291400; x=1709896200; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=cD+TwI/HZoywmTZsork3oY9Fn4598AcRR6hubkpx5Is=; b=ZCZo2iIHD2E3VruiEiIKkdJTD+v54T6356yDyC84CeEt7YNjLQWzMxndxxFmBoFLHQ q1YTs8qDc7xoSHLI7ZgPsiSjpqNsDWTcfO25t4W2dbfBVdRX+Biy8/XPFbaivz/eQJPP z0TEsr5xVHgQett/NQQN++iGir4IFI9GaRY6WFqb/HlcirXNEbe5NloDHPSImXDjjhJt cMSQPEWqACRelWeT4S+mxmRxK4qNBupHrge66Y9+zVqPIObRDxX/Ps4+2Hfije6nicap h8ZrPn/2eJYz03nvYfg7XvvZPRRh2RkT/qpiuEPSzAZ3N7nmg9iZ0Dt05gziWEzM7xcn z1Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709291400; x=1709896200; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=cD+TwI/HZoywmTZsork3oY9Fn4598AcRR6hubkpx5Is=; b=om3C/oQaQ8bY0cY1JCIwM9+DqsWqwugvcL4wk/IiNpjT4Tf04bFE6okKZ6tVlFy1Lx KHFF8sNIme3qkE29T8wqMbKcvAhiffTig05gXhHQP31j+6TjpxLW+B6dX/7OnGPRfXNB Cjt/DgZgLSbe9YCwlAPgLIH6ymOtqHU++mWUcKX1BYzqSNHpNwFxqyCaGdX+IkJQ4cQd +5MoKlfb8NwAqdl9gWpWWjmhJDGghpDwKIvTDrF0m8WmgFZ8sfAOokWxGoxWpn4FBc7q z1CLfyK69Um5qJwc49go3NmbO18CGRbjX6Kv/m71LHysz0kN7UtZROJY5Zmk4WIubnHb wZuw== X-Gm-Message-State: AOJu0Yyg7It3YgQExiBrVaSpN+Jjlz7x0GbasHyTi33pqcVFytkqV+AT WbnVCZ7z2j1cjyjwfov+UySdTVTa125/hfy5rweToQEFoYskdzAdr44haBe4z80= X-Received: by 2002:ac2:5634:0:b0:512:f628:32b9 with SMTP id b20-20020ac25634000000b00512f62832b9mr824309lff.27.1709291400460; Fri, 01 Mar 2024 03:10:00 -0800 (PST) Received: from kepler.redhat.com (1F2EF13F.nat.pool.telekom.hu. [31.46.241.63]) by smtp.gmail.com with ESMTPSA id b20-20020a05600c4e1400b00412cad66f8fsm490264wmq.44.2024.03.01.03.09.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 03:09:59 -0800 (PST) Sender: Ingo Molnar <mingo.kernel.org@gmail.com> From: Ingo Molnar <mingo@kernel.org> To: linux-kernel@vger.kernel.org Cc: Peter Zijlstra <peterz@infradead.org>, Vincent Guittot <vincent.guittot@linaro.org>, Dietmar Eggemann <dietmar.eggemann@arm.com>, Linus Torvalds <torvalds@linux-foundation.org>, Valentin Schneider <vschneid@redhat.com> Subject: [PATCH 4/7] sched/balancing: Fix comments (trying to) refer to NOHZ_BALANCE_KICK Date: Fri, 1 Mar 2024 12:09:48 +0100 Message-Id: <20240301110951.3707367-5-mingo@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240301110951.3707367-1-mingo@kernel.org> References: <20240301110951.3707367-1-mingo@kernel.org> 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: 1792322021501620687 X-GMAIL-MSGID: 1792322021501620687 |
Series |
sched/balancing: Misc updates & cleanups
|
|
Commit Message
Ingo Molnar
March 1, 2024, 11:09 a.m. UTC
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 <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Vincent Guittot <vincent.guittot@linaro.org>
Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Valentin Schneider <vschneid@redhat.com>
---
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). */ 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