* [PATCH] sched_ext: Documentation: Fix typo in sched-ext.rst
@ 2024-11-18 2:48 Zhu Jun
2024-11-20 9:36 ` Andrea Righi
0 siblings, 1 reply; 2+ messages in thread
From: Zhu Jun @ 2024-11-18 2:48 UTC (permalink / raw)
To: corbet; +Cc: andrea.righi, linux-doc, linux-kernel, zhujun2
The word 'tranfers' is wrong, so fix it.
Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
---
Documentation/scheduler/sched-ext.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/scheduler/sched-ext.rst b/Documentation/scheduler/sched-ext.rst
index 7b59bbd2e564..aff1304d2637 100644
--- a/Documentation/scheduler/sched-ext.rst
+++ b/Documentation/scheduler/sched-ext.rst
@@ -265,7 +265,7 @@ The following briefly shows how a waking task is scheduled and executed.
rather than performing them immediately. There can be up to
``ops.dispatch_max_batch`` pending tasks.
- * ``scx_bpf_consume()`` tranfers a task from the specified non-local DSQ
+ * ``scx_bpf_consume()`` transfer a task from the specified non-local DSQ
to the dispatching DSQ. This function cannot be called with any BPF
locks held. ``scx_bpf_consume()`` flushes the pending dispatched tasks
before trying to consume the specified DSQ.
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] sched_ext: Documentation: Fix typo in sched-ext.rst
2024-11-18 2:48 [PATCH] sched_ext: Documentation: Fix typo in sched-ext.rst Zhu Jun
@ 2024-11-20 9:36 ` Andrea Righi
0 siblings, 0 replies; 2+ messages in thread
From: Andrea Righi @ 2024-11-20 9:36 UTC (permalink / raw)
To: Zhu Jun; +Cc: corbet, linux-doc, linux-kernel
Hi Zhu,
On Sun, Nov 17, 2024 at 06:48:18PM -0800, Zhu Jun wrote:
> The word 'tranfers' is wrong, so fix it.
>
> Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
> ---
> Documentation/scheduler/sched-ext.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/scheduler/sched-ext.rst b/Documentation/scheduler/sched-ext.rst
> index 7b59bbd2e564..aff1304d2637 100644
> --- a/Documentation/scheduler/sched-ext.rst
> +++ b/Documentation/scheduler/sched-ext.rst
> @@ -265,7 +265,7 @@ The following briefly shows how a waking task is scheduled and executed.
> rather than performing them immediately. There can be up to
> ``ops.dispatch_max_batch`` pending tasks.
>
> - * ``scx_bpf_consume()`` tranfers a task from the specified non-local DSQ
> + * ``scx_bpf_consume()`` transfer a task from the specified non-local DSQ
Actually it should be "transfers".
However, this will be fixed by 5209c03c8ed2 ("sched_ext: Rename
scx_bpf_consume() to scx_bpf_dsq_move_to_local()") that just renames
"transfers" into "moves".
> to the dispatching DSQ. This function cannot be called with any BPF
> locks held. ``scx_bpf_consume()`` flushes the pending dispatched tasks
> before trying to consume the specified DSQ.
> --
> 2.17.1
>
>
>
Thanks,
-Andrea
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-20 9:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-18 2:48 [PATCH] sched_ext: Documentation: Fix typo in sched-ext.rst Zhu Jun
2024-11-20 9:36 ` Andrea Righi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).