Re: [PATCH 4/6] sched: Add get_current_state()

From: Will Deacon
Date: Wed Jun 02 2021 - 11:02:37 EST


On Wed, Jun 02, 2021 at 03:12:29PM +0200, Peter Zijlstra wrote:
> Remove yet another few p->state accesses.
>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
> ---
> block/blk-mq.c | 2 +-
> include/linux/sched.h | 2 ++
> kernel/freezer.c | 2 +-
> kernel/sched/core.c | 6 +++---
> 4 files changed, 7 insertions(+), 5 deletions(-)

I think you can include kernel/kcsan/report.c here too.

With that:

Acked-by: Will Deacon <will@xxxxxxxxxx>

Will