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

Will Deacon
2021-06-02T15:02:31Z

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@infradead.org>
> ---
> 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@kernel.org>

Will