[PATCH] signal: Correct spelling typos in ptrace_stop().
From: Sebastian Andrzej Siewior
Date: Wed Sep 20 2023 - 03:49:11 EST
Ingo spotted typos in the recently added comment and suggested
corrections.
Use 'On' instead of 'One' and remove one superfluous 'the' in a
sentence.
Suggested-by: Ingo Molnar <mingo@xxxxxxxxxx>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
---
kernel/signal.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/signal.c b/kernel/signal.c
index f2a5578326ade..384b77ad1bc15 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -2330,7 +2330,7 @@ static int ptrace_stop(int exit_code, int why, unsigned long message,
/*
* The previous do_notify_parent_cldstop() invocation woke ptracer.
- * One a PREEMPTION kernel this can result in preemption requirement
+ * On a PREEMPTION kernel this can result in preemption requirement
* which will be fulfilled after read_unlock() and the ptracer will be
* put on the CPU.
* The ptracer is in wait_task_inactive(, __TASK_TRACED) waiting for
@@ -2343,7 +2343,7 @@ static int ptrace_stop(int exit_code, int why, unsigned long message,
* view but extends the runtime by one HZ tick time due to the
* ptracer's sleep. The preempt-disable section ensures that there
* will be no preemption between unlock and schedule() and so
- * improving the performance since the ptracer will observe that
+ * improving performance since the ptracer will observe that
* the tracee is scheduled out once it gets on the CPU.
*
* On PREEMPT_RT locking tasklist_lock does not disable preemption.
--
2.40.1