2019-03-07 01:14:32

by Joel Savitz

[permalink] [raw]
Subject: [PATCH] sched: fix spelling of active in comment on is_cpu_allowed()

trivial fix of documentation typo

Signed-off-by: Joel Savitz <[email protected]>
---
kernel/sched/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index ead464a..2e2e19b 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -920,7 +920,7 @@ static inline bool is_per_cpu_kthread(struct task_struct *p)
}

/*
- * Per-CPU kthreads are allowed to run on !actie && online CPUs, see
+ * Per-CPU kthreads are allowed to run on !active && online CPUs, see
* __set_cpus_allowed_ptr() and select_fallback_rq().
*/
static inline bool is_cpu_allowed(struct task_struct *p, int cpu)
--
1.8.3.1



2019-03-07 14:46:15

by Joel Savitz

[permalink] [raw]
Subject: Re: [PATCH] sched: fix spelling of active in comment on is_cpu_allowed()

Best,
Joel Savitz


On Wed, Mar 6, 2019 at 8:13 PM Joel Savitz <[email protected]> wrote:
>
> trivial fix of documentation typo
>
> Signed-off-by: Joel Savitz <[email protected]>
> ---
> kernel/sched/core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/sched/core.c b/kernel/sched/core.c
> index ead464a..2e2e19b 100644
> --- a/kernel/sched/core.c
> +++ b/kernel/sched/core.c
> @@ -920,7 +920,7 @@ static inline bool is_per_cpu_kthread(struct task_struct *p)
> }
>
> /*
> - * Per-CPU kthreads are allowed to run on !actie && online CPUs, see
> + * Per-CPU kthreads are allowed to run on !active && online CPUs, see
> * __set_cpus_allowed_ptr() and select_fallback_rq().
> */
> static inline bool is_cpu_allowed(struct task_struct *p, int cpu)
> --
> 1.8.3.1
>

Subject: [tip:sched/core] sched/core: Fix typo in comment

Commit-ID: bee9853932e90ce94bce4276ec6b7b06bc48070b
Gitweb: https://git.kernel.org/tip/bee9853932e90ce94bce4276ec6b7b06bc48070b
Author: Joel Savitz <[email protected]>
AuthorDate: Wed, 6 Mar 2019 20:13:33 -0500
Committer: Ingo Molnar <[email protected]>
CommitDate: Fri, 19 Apr 2019 12:22:16 +0200

sched/core: Fix typo in comment

Signed-off-by: Joel Savitz <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
---
kernel/sched/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 8b64ef0d5589..fb09eaad1d3a 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -924,7 +924,7 @@ static inline bool is_per_cpu_kthread(struct task_struct *p)
}

/*
- * Per-CPU kthreads are allowed to run on !actie && online CPUs, see
+ * Per-CPU kthreads are allowed to run on !active && online CPUs, see
* __set_cpus_allowed_ptr() and select_fallback_rq().
*/
static inline bool is_cpu_allowed(struct task_struct *p, int cpu)