Re: [PATCH v2 2/7] sched: Introduce task_is_running()

From: Will Deacon
Date: Fri Jun 11 2021 - 06:26:56 EST


On Fri, Jun 11, 2021 at 10:28:12AM +0200, Peter Zijlstra wrote:
> Replace a bunch of 'p->state == TASK_RUNNING' with a new helper:
> task_is_running(p).
>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
> Acked-by: Davidlohr Bueso <dave@xxxxxxxxxxxx>
> ---
> arch/alpha/kernel/process.c | 2 +-
> arch/arc/kernel/stacktrace.c | 2 +-
> arch/arm/kernel/process.c | 2 +-
> arch/arm64/kernel/process.c | 2 +-
> arch/csky/kernel/stacktrace.c | 2 +-
> arch/h8300/kernel/process.c | 2 +-
> arch/hexagon/kernel/process.c | 2 +-
> arch/ia64/kernel/process.c | 4 ++--
> arch/m68k/kernel/process.c | 2 +-
> arch/mips/kernel/process.c | 2 +-
> arch/nds32/kernel/process.c | 2 +-
> arch/nios2/kernel/process.c | 2 +-
> arch/parisc/kernel/process.c | 4 ++--
> arch/powerpc/kernel/process.c | 4 ++--
> arch/riscv/kernel/stacktrace.c | 2 +-
> arch/s390/kernel/process.c | 2 +-
> arch/s390/mm/fault.c | 2 +-
> arch/sh/kernel/process_32.c | 2 +-
> arch/sparc/kernel/process_32.c | 3 +--
> arch/sparc/kernel/process_64.c | 3 +--
> arch/um/kernel/process.c | 2 +-
> arch/x86/kernel/process.c | 4 ++--
> arch/xtensa/kernel/process.c | 2 +-

Cheers for adding the missing arch bits:

Acked-by: Will Deacon <will@xxxxxxxxxx>

Will