Messages in this thread | | | Subject | Re: [PATCH 2/9] sched: treewide: use is_kthread() | From | Valentin Schneider <> | Date | Wed, 14 Aug 2019 14:37:21 +0100 |
| |
On 14/08/2019 11:41, Mark Rutland wrote: > Now that we have is_kthread(), let's convert existing open-coded checks > of the form: > > task->flags & PF_KTHREAD > > ... over to the new helper, which makes things a little easier to read, > and sets a consistent example for new code to follow. >
[...]
> kernel/sched/core.c | 8 ++++---- > kernel/sched/idle.c | 2 +- > kernel/sched/wait.c | 2 +-
Looks all sane there for me.
Reviewed-by: Valentin Schneider <valentin.schneider@arm.com>
| |