* [PATCH 0/2] sched: fix typos and repeated words in comments
@ 2026-09-07 6:49 Hemanth Selam
2026-09-07 6:49 ` [PATCH 1/2] sched: fix typo "upto" " Hemanth Selam
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-07 6:49 UTC (permalink / raw)
To: Tejun Heo, David Vernet, Andrea Righi, Changwoo Min, Ingo Molnar,
Peter Zijlstra, Juri Lelli, Vincent Guittot, Dietmar Eggemann,
Steven Rostedt, Ben Segall, Mel Gorman, Valentin Schneider,
K Prateek Nayak
Cc: sched-ext, linux-kernel, bpf
This corrects 2 misspellings and repeated words in comments. Each is a
separate patch so that any one of them can be dropped without touching
the rest.
Nothing outside comments changes. Every touched C file was checked by
dropping its comments, replacing each string literal with a placeholder
and collapsing whitespace; what remained was identical before and after,
so the compiled code cannot differ.
The mistakes were found with scripts/checkpatch.pl against the list in
scripts/spelling.txt. The scanning, the edits and the changelogs were
produced with Cursor running the claude-opus-5 model, from a request to
find and fix spelling mistakes across the tree, and every correction was
then re-checked by the comparison described above. Words that name an
identifier were left alone deliberately, even when they read as typos,
because correcting the prose would make the comment disagree with the
code it describes.
Tested by building x86_64 defconfig at v7.3-rc1-269-gbc35965f6940, which
is clean. Nothing else was built, so any patch touching code that
x86_64 defconfig does not compile has been read but not compiled.
Hemanth Selam (2):
sched: fix typo "upto" in comments
tools/sched_ext: fix repeated word 'be' in comment
kernel/sched/ext/ext.c | 4 ++--
tools/sched_ext/include/scx/common.bpf.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
--
2.48.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] sched: fix typo "upto" in comments
2026-09-07 6:49 [PATCH 0/2] sched: fix typos and repeated words in comments Hemanth Selam
@ 2026-09-07 6:49 ` Hemanth Selam
2026-09-07 6:49 ` [PATCH 2/2] tools/sched_ext: fix repeated word 'be' in comment Hemanth Selam
2026-09-08 17:13 ` [PATCH 0/2] sched: fix typos and repeated words in comments Tejun Heo
2 siblings, 0 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-07 6:49 UTC (permalink / raw)
To: Tejun Heo, David Vernet, Andrea Righi, Changwoo Min, Ingo Molnar,
Peter Zijlstra, Juri Lelli, Vincent Guittot, Dietmar Eggemann,
Steven Rostedt, Ben Segall, Mel Gorman, Valentin Schneider,
K Prateek Nayak
Cc: sched-ext, linux-kernel, bpf
Correct "upto" to "up to", reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt. Only touches comments, no code
changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
kernel/sched/ext/ext.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/sched/ext/ext.c b/kernel/sched/ext/ext.c
index 713aa26b2828..721f0b3c5c07 100644
--- a/kernel/sched/ext/ext.c
+++ b/kernel/sched/ext/ext.c
@@ -5840,7 +5840,7 @@ static void bypass_lb_node(struct scx_sched *sch, int node)
/*
* We don't want CPUs to have more than $nr_donor_target tasks and
- * balancing to fill donee CPUs upto $nr_target. Once targets are
+ * balancing to fill donee CPUs up to $nr_target. Once targets are
* calculated, find the donee CPUs.
*/
nr_target = DIV_ROUND_UP(nr_tasks, nr_cpus);
@@ -8816,7 +8816,7 @@ __bpf_kfunc_start_defs();
* task is inserted.
*
* When called from ops.dispatch(), there are no restrictions on @p or @dsq_id
- * and this function can be called upto ops.dispatch_max_batch times to insert
+ * and this function can be called up to ops.dispatch_max_batch times to insert
* multiple tasks. scx_bpf_dispatch_nr_slots() returns the number of the
* remaining slots. scx_bpf_dsq_move_to_local() flushes the batch and resets the
* counter.
--
2.48.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/2] tools/sched_ext: fix repeated word 'be' in comment
2026-09-07 6:49 [PATCH 0/2] sched: fix typos and repeated words in comments Hemanth Selam
2026-09-07 6:49 ` [PATCH 1/2] sched: fix typo "upto" " Hemanth Selam
@ 2026-09-07 6:49 ` Hemanth Selam
2026-09-08 17:13 ` [PATCH 0/2] sched: fix typos and repeated words in comments Tejun Heo
2 siblings, 0 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-07 6:49 UTC (permalink / raw)
To: Tejun Heo, David Vernet, Andrea Righi, Changwoo Min, Ingo Molnar,
Peter Zijlstra, Juri Lelli, Vincent Guittot, Dietmar Eggemann,
Steven Rostedt, Ben Segall, Mel Gorman, Valentin Schneider,
K Prateek Nayak
Cc: sched-ext, linux-kernel, bpf
Drop the second 'be', reported by checkpatch.pl as a possible repeated
word. Only touches a comment, no code changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
tools/sched_ext/include/scx/common.bpf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/sched_ext/include/scx/common.bpf.h b/tools/sched_ext/include/scx/common.bpf.h
index 76f5e025e107..9660b43d612c 100644
--- a/tools/sched_ext/include/scx/common.bpf.h
+++ b/tools/sched_ext/include/scx/common.bpf.h
@@ -306,7 +306,7 @@ BPF_PROG(name, ##args)
* Similar to MEMBER_VPTR() but is intended for use with arrays where the
* element count needs to be explicit.
* It can be used in cases where a global array is defined with an initial
- * size but is intended to be be resized before loading the BPF program.
+ * size but is intended to be resized before loading the BPF program.
* Without this version of the macro, MEMBER_VPTR() will use the compile time
* size of the array to compute the max, which will result in rejection by
* the verifier.
--
2.48.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] sched: fix typos and repeated words in comments
2026-09-07 6:49 [PATCH 0/2] sched: fix typos and repeated words in comments Hemanth Selam
2026-09-07 6:49 ` [PATCH 1/2] sched: fix typo "upto" " Hemanth Selam
2026-09-07 6:49 ` [PATCH 2/2] tools/sched_ext: fix repeated word 'be' in comment Hemanth Selam
@ 2026-09-08 17:13 ` Tejun Heo
2 siblings, 0 replies; 4+ messages in thread
From: Tejun Heo @ 2026-09-08 17:13 UTC (permalink / raw)
To: Hemanth Selam
Cc: Tejun Heo, David Vernet, Andrea Righi, Changwoo Min, Ingo Molnar,
Peter Zijlstra, Juri Lelli, Vincent Guittot, Dietmar Eggemann,
Steven Rostedt, Ben Segall, Mel Gorman, Valentin Schneider,
K Prateek Nayak, sched-ext, linux-kernel, bpf, Emil Tsalapatis
Hello,
> Hemanth Selam (2):
> sched: fix typo "upto" in comments
> tools/sched_ext: fix repeated word 'be' in comment
Applied 1-2 to sched_ext/for-7.4.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-09-08 17:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-07 6:49 [PATCH 0/2] sched: fix typos and repeated words in comments Hemanth Selam
2026-09-07 6:49 ` [PATCH 1/2] sched: fix typo "upto" " Hemanth Selam
2026-09-07 6:49 ` [PATCH 2/2] tools/sched_ext: fix repeated word 'be' in comment Hemanth Selam
2026-09-08 17:13 ` [PATCH 0/2] sched: fix typos and repeated words in comments Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®