Re: [PATCH] sched: fix spelling of active in comment on is_cpu_allowed()
From: Joel Savitz
Date: Thu Mar 07 2019 - 09:44:54 EST
Best,
Joel Savitz
On Wed, Mar 6, 2019 at 8:13 PM Joel Savitz <jsavitz@xxxxxxxxxx> wrote:
>
> trivial fix of documentation typo
>
> Signed-off-by: Joel Savitz <jsavitz@xxxxxxxxxx>
> ---
> 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
>