Skip to contentSkip to conversation

sched/fair: Fix minor grammar

PATCH New Steven Lung 1 participant 1 message Jun 9, 2022 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched/fair: Fix minor grammar

The letter 's' for 'CPUs' was in capital, and replace the word 'maybe' with 'may be' would be more appropriate in the sentence, since 'maybe' is an adverb.

---
 kernel/sched/fair.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
kernel/sched/fair.c +3 -3
index 77b2048a9..f0cade37f 100644
@@ -960,8 +960,8 @@ update_stats_wait_end_fair(struct cfs_rq *cfs_rq, struct sched_entity *se)
 
 	/*
 	 * When the sched_schedstat changes from 0 to 1, some sched se
-	 * maybe already in the runqueue, the se->statistics.wait_start
-	 * will be 0.So it will let the delta wrong. We need to avoid this
+	 * may be already in the runqueue, the se->statistics.wait_start
+	 * will be 0. So it will let the delta wrong. We need to avoid this
 	 * scenario.
 	 */
 	if (unlikely(!schedstat_val(stats->wait_start)))
@@ -5851,7 +5851,7 @@ DEFINE_PER_CPU(cpumask_var_t, select_idle_mask);
 static struct {
 	cpumask_var_t idle_cpus_mask;
 	atomic_t nr_cpus;
-	int has_blocked;		/* Idle CPUS has blocked load */
+	int has_blocked;		/* Idle CPUs has blocked load */
 	int needs_update;		/* Newly idle CPUs need their next_balance collated */
 	unsigned long next_balance;     /* in jiffy units */
 	unsigned long next_blocked;	/* Next update of blocked load in jiffies */
Signature · 1 line
2.35.1