From nobody Mon Dec 1 22:00:23 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B24C0287265 for ; Mon, 1 Dec 2025 06:47:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764571628; cv=none; b=EJwow/EZ7UKNCRal6Ig7Yw8bzKKFGCPj/WrB+9NiDbuvyoj59wJHCfElfgXsdC9MerSGFXd1ur7fxppI9hMzECQYZ/+pWZrqcC2EWN0x7vZ1gdy5oiyDSXtAt5tK7MfOS2A5oTLZSM+2qyZe31LSDotjpNgmjcjv/pZoIMYVSXU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764571628; c=relaxed/simple; bh=U05bm8Q7i7hrJAXt2bqO5XcSDd0tObyje5q3g0Ce5M0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ev0ApG8567iwlkbCnXaj6sjgUgv4NnawagTIGWMmNjwdQBlW2nPYUO6dYEoCY38+tlyHyG7/nkViiCJZPRqrS5BtjOmQvy88lG2vPpZlcVqlowZ9mIB9NyIfkiOPuTzCw8y8nDS9T6KR5mDX8V+jb6IvZPL+R+JE8jk3CuUzH/g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HWU1NlPa; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HWU1NlPa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84DC1C116C6; Mon, 1 Dec 2025 06:47:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764571628; bh=U05bm8Q7i7hrJAXt2bqO5XcSDd0tObyje5q3g0Ce5M0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HWU1NlPaPxgDd+dEIOTELXOrVfz9XygoM6JIknQvfO8W1u7Iv2mKbS+rUfQ5Kz9oJ aV+2Ssak7+6Gdiq760wNcZBQtaRdglj8xaOiJK6F3PfLTVXoSj98CXzjXZF+NRf+Ja 5g7BL+aZEFAlYRoOXxxhaB97YFRVc71oCAs1hrMGIQNSuN7w9jA3j0siAWhHjXKszQ 9WkuksbiJ5Exxv75g5hClJFyAgWCuMcivqrD2f1aozR0z1maKvvV+JEmSTs4Un24zs oleDpIH8KiLdoT6vbnICRomnyeuqXExJmCN6At87W+2EPLK2Av0rTg3j2OPVsalYXz WmRS1SwqroMcQ== From: Ingo Molnar To: linux-kernel@vger.kernel.org Cc: Peter Zijlstra , Juri Lelli , Dietmar Eggemann , Valentin Schneider , Vincent Guittot , Shrikanth Hegde , Linus Torvalds , Mel Gorman , Steven Rostedt , Thomas Gleixner , Ingo Molnar Subject: [PATCH 2/6] sched/fair: Clean up comments in 'struct cfs_rq' Date: Mon, 1 Dec 2025 07:46:43 +0100 Message-ID: <20251201064647.1851919-3-mingo@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251201064647.1851919-1-mingo@kernel.org> References: <20251201064647.1851919-1-mingo@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" - Fix vertical alignment - Fix typos - Fix capitalization Signed-off-by: Ingo Molnar --- kernel/sched/sched.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index a29965c93832..6bfcf52a4840 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -670,13 +670,13 @@ struct balance_callback { void (*func)(struct rq *rq); }; =20 -/* CFS-related fields in a runqueue */ +/* Fair scheduling SCHED_{NORMAL,BATCH,IDLE} related fields in a runqueue:= */ struct cfs_rq { struct load_weight load; unsigned int nr_queued; - unsigned int h_nr_queued; /* SCHED_{NORMAL,BATCH,IDLE} */ - unsigned int h_nr_runnable; /* SCHED_{NORMAL,BATCH,IDLE} */ - unsigned int h_nr_idle; /* SCHED_IDLE */ + unsigned int h_nr_queued; /* SCHED_{NORMAL,BATCH,IDLE} */ + unsigned int h_nr_runnable; /* SCHED_{NORMAL,BATCH,IDLE} */ + unsigned int h_nr_idle; /* SCHED_IDLE */ =20 s64 avg_vruntime; u64 avg_load; @@ -690,7 +690,7 @@ struct cfs_rq { struct rb_root_cached tasks_timeline; =20 /* - * 'curr' points to currently running entity on this cfs_rq. + * 'curr' points to the currently running entity on this cfs_rq. * It is set to NULL otherwise (i.e when none are currently running). */ struct sched_entity *curr; @@ -739,7 +739,7 @@ struct cfs_rq { */ int on_list; struct list_head leaf_cfs_rq_list; - struct task_group *tg; /* group that "owns" this runqueue */ + struct task_group *tg; /* Group that "owns" this runqueue */ =20 /* Locally cached copy of our task_group's idle value */ int idle; --=20 2.51.0