commit | b03fbd4ff24c5f075e58eb19261d5f8b3e40d7c6 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <peterz@infradead.org> | Fri Jun 11 10:28:12 2021 +0200 |
committer | Peter Zijlstra <peterz@infradead.org> | Fri Jun 18 11:43:07 2021 +0200 |
tree | aa8a970bc1cf036c71a1c3201a0cd0ed8fb66636 | |
parent | 37aadc687ab441bbcb693ddae613acf9afcea1ab [diff] |
sched: Introduce task_is_running() Replace a bunch of 'p->state == TASK_RUNNING' with a new helper: task_is_running(p). Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Davidlohr Bueso <dave@stgolabs.net> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/20210611082838.222401495@infradead.org